linux/drivers/net/wireless/iwlwifi
Emmanuel Grumbach 90ea15c114 iwlwifi: mvm: abort scheduled scan upon RFKILL
When we have an active scheduled scan, and the RFKILL
interrupt kicks in, the stack will cancel the scheduled
scan as part of the down flow. But cancelling scheduled
scan usually implies sending a command to the firwmare
which has been killed as part of the RFKILL interrupt
handling.
Because of that, we returned an error to mac80211 when
it asked to stop the scheduled scan and didn't notify the
end of the scheduled scan. Besides a fat warning, this led
to a situation in which cfg80211 would refuse any new scan
request.

To disentangle this, fake that the scheduled scan has been
stopped without sending the command to the firwmare, return
0 after having properly let cfg80211 know that the scan
has been cancelled.

This is basically the same as:
commit 9b520d8495
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date:   Tue Nov 4 15:54:11 2014 +0200

    iwlwifi: mvm: abort scan upon RFKILL

    This code existed but not for all the different FW APIs
    we support.
    Fix this.

but for the scheduled scan case.

Link: http://permalink.gmane.org/gmane.linux.kernel.wireless.general/133232
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2015-01-18 22:04:37 +02:00
..
dvm iwlwifi: dvm: fix flush support for old firmware 2014-12-02 12:36:37 +02:00
mvm iwlwifi: mvm: abort scheduled scan upon RFKILL 2015-01-18 22:04:37 +02:00
pcie iwlwifi: pcie: correctly define 7265-D cfg 2015-01-05 11:01:41 +02:00
iwl-1000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-2000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-5000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-6000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-7000.c iwlwifi: bump firmware API for mvm devices to 12 2015-01-05 11:02:37 +02:00
iwl-8000.c iwlwifi: bump firmware API for mvm devices to 12 2015-01-05 11:02:37 +02:00
iwl-agn-hw.h iwlwifi: mvm: fix bug with OTP memory size 2014-05-06 20:40:01 +03:00
iwl-config.h iwlwifi: fix 4165 series name 2014-12-02 12:34:58 +02:00
iwl-csr.h iwlwifi: pcie: support 7265-D devices 2014-11-24 08:30:12 +02:00
iwl-debug.c iwlwifi: use dev_printk instead of dev_dbg for debug logs 2014-05-13 13:52:22 +03:00
iwl-debug.h iwlwifi: mvm: declare TDLS support 2014-11-24 08:30:19 +02:00
iwl-devtrace.c iwlwifi: don't export tracepoints unnecessarily 2014-09-03 22:49:03 +03:00
iwl-devtrace.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-drv.c iwlwifi: don't double free a pointer if no FW was found 2014-12-14 10:20:30 +02:00
iwl-drv.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-eeprom-parse.c iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-eeprom-parse.h iwlwifi: mvm: new NVM format in family 8000 2014-02-13 13:49:37 +02:00
iwl-eeprom-read.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-eeprom-read.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-fh.h iwlwifi: pcie: limit fw chunk sizes given to fh 2014-12-14 10:20:30 +02:00
iwl-fw-error-dump.h iwlwifi: pcie: add fh registers to dump data 2014-12-01 13:00:20 +02:00
iwl-fw-file.h iwlwifi: mvm: fix EBS on single scan 2015-01-12 09:56:19 +02:00
iwl-fw.h iwlwifi: mvm: Ability to work with packed usniffer image 2014-12-02 16:51:56 +02:00
iwl-io.c iwlwifi: make hw rev checking more readable 2014-09-14 12:56:39 +03:00
iwl-io.h iwlwifi: update nmi register 2014-05-15 19:50:51 +03:00
iwl-modparams.h iwlwifi: fix inconsistency about power_save module parameter 2014-07-22 19:21:10 +03:00
iwl-notif-wait.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-notif-wait.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-nvm-parse.c iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-nvm-parse.h iwlwifi: mvm: new NVM format in family 8000 2014-02-13 13:49:37 +02:00
iwl-op-mode.h iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +02:00
iwl-phy-db.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
iwl-phy-db.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-prph.h iwlwifi: mvm: support ucode load for family_8000 B0 only 2014-12-01 13:00:16 +02:00
iwl-scd.h iwlwifi: trans: configure the scheduler enable register 2014-09-03 22:49:06 +03:00
iwl-trans.h iwlwifi: pcie: config regs according to fw tlv 2014-12-02 16:51:55 +02:00
Kconfig iwlwfifi: fix WANT_DEV_COREDUMP selection in Kconfig 2014-10-31 13:10:32 +02:00
Makefile iwlwifi: Add 8000 HW family support 2014-02-03 22:23:31 +02:00