]> git.baikalelectronics.ru Git - kernel.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)
commite8104693ebebdc291179173807fb3ce72200525d
tree4e382dd8ddaf81af6cf7431fb1818919da6fb5b0
parent93d30be0044effb00b3a524d1a9e78cab585309d
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