linux/drivers/net/wireless/iwlwifi/mvm
Emmanuel Grumbach 5a3e9f7f8c iwlwifi: mvm: call ieee80211_scan_completed when needed
When RFKill cuts short a scan, mac80211 cancels the scan.
This is done by sending a host command to the firmware, but
this command was dropped because of RFKill. Flag this
command as "SEND_IN_RFKILL" to make sure it is sent to the
firmware. The firmware will send SCAN_COMPLETE_NOTIFICATION
which will trigger a call to ieee80211_scan_completed.

If the scan cannot be aborted, it is because the firmware
already finished the scan but we hadn't notified mac80211
at the time mac80211 decided to cancel the scan. By the time
we see the scan could not be aborted, mac80211 has been
notified already.

This patch fixes situations in which we didn't notify
mac80211 upon completion of the scan that was cut short
by RFkill.

Cc: stable@vger.kernel.org [3.10+]
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-10-02 11:25:50 +02:00
..
binding.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
bt-coex.c iwlwifi: mvm: don't allocate BT_COEX cmd on stack 2013-07-16 16:13:28 +03:00
constants.h iwlwifi: mvm: Add PBW snoozing enablement 2013-08-16 12:13:28 +02:00
d3.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-08-16 14:48:40 -04:00
debugfs.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-08-16 14:48:40 -04:00
fw-api-bt-coex.h iwlwifi: mvm: add BT Coex FW API 2013-03-06 16:47:57 +01:00
fw-api-d3.h iwlwifi: mvm: support six IPv6 addresses in D3 2013-07-31 11:04:59 +02:00
fw-api-mac.h iwlwifi: mvm: correctly configure MCAST in AP mode 2013-06-04 13:16:02 +02:00
fw-api-power.h iwlwifi: mvm: Add PBW snoozing enablement 2013-08-16 12:13:28 +02:00
fw-api-rs.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
fw-api-scan.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-08-09 15:06:28 -04:00
fw-api-sta.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
fw-api-tx.h iwlwifi: mvm: remove obsolete flag in TX command API 2013-07-31 11:05:05 +02:00
fw-api.h iwlwifi: mvm: Implement CQM offloading 2013-08-16 12:12:24 +02:00
fw.c iwlwifi: mvm: remove the default calibration values for 7000 2013-07-31 11:04:58 +02:00
led.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
mac80211.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-08-16 14:48:40 -04:00
mac-ctxt.c iwlwifi: mvm: Return on inconsistency in add interface 2013-07-31 11:05:00 +02:00
Makefile iwlwifi: mvm: Upgrade to a new power management uAPSD API 2013-07-16 16:13:23 +03:00
mvm.h Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-08-16 14:48:40 -04:00
nvm.c iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
ops.c iwlwifi: mvm: Add RX statistics debugfs entry 2013-08-06 10:30:21 +02:00
phy-ctxt.c iwlwifi: mvm: implement D3 testing 2013-05-29 21:56:57 +02:00
power_legacy.c iwlwifi: mvm: Upgrade to a new power management uAPSD API 2013-07-16 16:13:23 +03:00
power.c iwlwifi: mvm: Disable uAPSD for D3 image 2013-10-02 11:18:10 +02:00
quota.c iwlwifi: mvm: small cleanups in quota management code 2013-08-06 10:33:47 +02:00
rs.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-08-16 14:48:40 -04:00
rs.h iwlwifi: mvm: remove MIMO3 from rate scale code 2013-08-12 15:23:54 +02:00
rx.c iwlwifi: mvm: Implement CQM offloading 2013-08-16 12:12:24 +02:00
scan.c iwlwifi: mvm: call ieee80211_scan_completed when needed 2013-10-02 11:25:50 +02:00
sta.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-08-09 15:06:28 -04:00
sta.h iwlwifi: mvm: remove unused wait_for_ba field 2013-06-11 20:11:22 +02:00
time-event.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-09-06 09:36:28 -07:00
time-event.h iwlwifi: mvm: Add support for different ROC types 2013-03-20 14:31:04 +01:00
tt.c iwlwifi: mvm: add high temperature SKU thermal throttling parameters 2013-07-31 11:05:07 +02:00
tx.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-08-16 14:24:51 -04:00
utils.c iwlwifi: mvm: sram hex dump on NIC error 2013-07-16 13:15:03 +03:00