]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: clear scanning bits upon failure
authorMohamed Abbas <mohamed.abbas@intel.com>
Fri, 24 Oct 2008 06:48:54 +0000 (23:48 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Nov 2008 21:37:08 +0000 (16:37 -0500)
commit5b33d761e8da2aa086742ff3ab83134e3b5b26a5
tree151e5105d484787e648a2ee97bebfcde4aebfa50
parent3b4f87121aa3cc3b553d38e1c7ff524ca9e5561e
iwlwifi: clear scanning bits upon failure

In iwl_bg_request_scan function, if we could not send a
scan command it will go to done.
In done it does the right thing to call mac80211 with
scan complete, but the problem is STATUS_SCAN_HW is still
set causing any future scan to fail. Fix by clearing the scanning status
bits if scan fails.

Signed-off-by: Mohamed Abbas <mohamed.abbas@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-scan.c