iwlwifi: don't fail if scan is issued too early
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 24 Sep 2008 05:57:46 +0000 (13:57 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Sep 2008 20:18:04 +0000 (16:18 -0400)
commit8d09a5e1c36d0dec5728e6c8b0bb5412de09b27b
tree4e98dfc3181fb2feebc37de9b2d61451797b72e0
parent55d6a3cd0cc85ed90c39cf32e16f622bd003117b
iwlwifi: don't fail if scan is issued too early

This patch returns success and empty scan on scans requests that were
rejected because issued too early. The cached bss list from previous
scanning will be returned by mac80211.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-scan.c