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)
commit3edb5fd6ac898182a186d403695986f6ff51ac65
tree4e1560b3d89f50929e8dfafe57a02b6b5bd4f8a8
parentaa2dc6b529d781a375f7ad3185198f6315865b06
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