diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2015-02-05 01:39:22 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-02-23 23:07:29 +0300 |
commit | 54331db99a2a7b621a83865608b2c59913291517 (patch) | |
tree | 145a1b7b419b804bd8b628ab8725406b4b93195e /drivers/net/wireless/iwlwifi/mvm/rs.c | |
parent | f5af19d10d151c5a2afae3306578f485c244db25 (diff) | |
download | linux-54331db99a2a7b621a83865608b2c59913291517.tar.xz |
iwlwifi: mvm: call ieee80211_scan_completed() even if scan abort fails
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/rs.c')
0 files changed, 0 insertions, 0 deletions