]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: cleanup iwl_set_rxon_channel()
authorShanyu Zhao <shanyu.zhao@intel.com>
Wed, 28 Jul 2010 03:45:15 +0000 (20:45 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:32:01 +0000 (16:32 -0400)
commit732dfd93ece1dd710e47a092f2d93c18eb842826
tree4e1560b3d89f50929e8dfafe57a02b6b5bd4f8a8
parent65f0b7a0ca117244e8a034106ef092a2c38e814d
iwlwifi: cleanup iwl_set_rxon_channel()

Update outdated comments of iwl_set_rxon_channel() to reflect the
current signature. Also remove the unnecessary validation of the
channel. Those channel info are constructed in iwlwifi driver
and mac80211 will never modify the content of the struct. Also
everytime before this function is called the channel info has
been validated already (as a paranoid check).

Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-core.c