iwlwifi: Fix A band scanning when associated
authorHenry Zhangh <hongx.c.zhang@intel.com>
Fri, 22 Jan 2010 22:22:44 +0000 (14:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Jan 2010 21:36:20 +0000 (16:36 -0500)
commit220575f78fb0b8d2a1c41cd28115d52ae8d132ee
treec73f41cfeeb7c2e28bf826d750570b0382a4b4ed
parentafbdd69af0e6a0c40676d4d4b94a0a4414708eaa
iwlwifi: Fix A band scanning when associated

This patch allows A band to be scanned when driver is associated to AP.
Scan mechanism is that mac80211/cfg80211 requests driver to scan G band
first and then immediately to scan A band. Original code require
driver to wait for 2 seconds after any scan before another scan will be
performed. This caused driver to service G band scan request from
mac80211/cfg80211 but deny the A band scan request.

Signed-off-by: Henry Zhangh <hongx.c.zhang@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-scan.c