]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iwlwifi: do not spuriously call ieee80211_scan_completed
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Aug 2010 16:35:22 +0000 (09:35 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:32:05 +0000 (16:32 -0400)
commit672ddeffeb2afad18fe1a2fc5aa14a07b4da1551
tree4e382dd8ddaf81af6cf7431fb1818919da6fb5b0
parent54c8067a4a0606f466faf0f30b16684b00060e70
iwlwifi: do not spuriously call ieee80211_scan_completed

When a scan is aborted because the corresponding
virtual interface is removed, we may still later
attempt to tell mac80211 that the scan completed.
This is obviously wrong, since we already told it
that it was aborted, so don't do that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c