iwlwifi: trust mac80211 channel setting
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 13:42:56 +0000 (15:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:06:07 +0000 (13:06 +0200)
commit9dc216d740e1210ccb3da533e2dab99a156300f9
tree13140a91875d6ac50c6721a1d9eea329f0cfe9cf
parent7ad580c2e6d918379b89668ea4e58a3599e27ee5
iwlwifi: trust mac80211 channel setting

mac80211 will never set, switch to, or scan on an
invalid channel, so remove the code to validate
the channels against the driver channel list.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-mac80211.c
drivers/net/wireless/iwlwifi/iwl-scan.c