]> git.openpandora.org Git - pandora-kernel.git/commitdiff
iwlwifi: mvm: call ieee80211_scan_completed() even if scan abort fails
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 4 Feb 2015 22:39:22 +0000 (00:39 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 23 Feb 2015 20:07:29 +0000 (22:07 +0200)
A scan abort command failure is not that unusual, since we may try to
send it after the scan has actually completed but before we received
the completed notification from the firmware.  The scan abort can also
fail for other reasons, such as a timeout.  In such cases, we should
clear things up so the next scans will work again.  To do so, don't
return immediately in case of failures, but call
ieee80211_scan_completed() and clear the scan_status flags.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>

No differences found