From: Mohamed Abbas Date: Fri, 24 Oct 2008 06:48:54 +0000 (-0700) Subject: iwlwifi: clear scanning bits upon failure X-Git-Tag: v2.6.28-rc4~22^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=502c12e1ef14967e08dabb04c674cf0f000e8f7e;p=pandora-kernel.git 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 Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed