iwlwifi: use mac80211 channel for radar check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 14:37:57 +0000 (16:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:08:39 +0000 (13:08 +0200)
commitcc66880ba58ef6b9ee645fa1e1c074746ff03ce4
treeac0816209ae47ad178d666c8ca9480647d3d05b2
parentd9b9d940ac2d1c03ec955dc921dd12e432a64e5c
iwlwifi: use mac80211 channel for radar check

In channel switch, instead of relying on our internal
channel database, just use the mac80211 channel that
we filled with that information on startup.

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