iwlwifi: use mac80211 channels for reset scan
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 13:44:27 +0000 (15:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:08:38 +0000 (13:08 +0200)
commitd9b9d940ac2d1c03ec955dc921dd12e432a64e5c
tree580c702446d775664bc316fee96913b68ba436a2
parent9dc216d740e1210ccb3da533e2dab99a156300f9
iwlwifi: use mac80211 channels for reset scan

Instead of iterating our own channel list,
use the mac80211 channel list since that's
already processed per band and thus makes
for less code.

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