linux/drivers/net/wireless
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
..
ath Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-12-08 13:58:58 -05:00
b43 It has been a while since my last pull request, so we accumulated 2014-11-20 16:09:30 -05:00
b43legacy
brcm80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-12-08 13:58:58 -05:00
cw1200 mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR 2014-11-19 18:46:09 +01:00
hostap wireless: hostap: proc: print properly escaped SSID 2014-10-14 02:18:27 +02:00
ipw2x00 ipw2x00: clean up a condition 2014-10-27 14:16:14 -04:00
iwlegacy mac80211: allow channel switch with multiple channel contexts 2014-10-09 11:30:09 +02:00
iwlwifi iwlwifi: mvm: abort scheduled scan upon RFKILL 2015-01-18 22:04:37 +02:00
libertas wireless: libertas: print esaped string via %*pE 2014-10-14 02:18:26 +02:00
libertas_tf
mwifiex mwifiex: do not process broadcast mac address for del_sta 2014-12-05 14:15:25 -05:00
orinoco drivers/net: Convert remaining uses of pr_warning to pr_warn 2014-09-09 20:37:08 -07:00
p54 wireless/p54: Remove duplicated net2280 header 2014-11-24 16:51:24 -05:00
prism54
rsi
rt2x00 Revert "rt2x00: Endless loop on hub port power down" 2014-12-01 15:57:21 -05:00
rtl818x rtl818x_pci: fix response rate may be incorrect. 2014-10-07 14:48:37 -04:00
rtlwifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-12-08 13:58:58 -05:00
ti cfg80211: clean up beacon loss CQM event 2014-11-26 20:56:42 +01:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2014-12-04 11:29:10 -05:00
mac80211_hwsim.h mac80211-hwsim: Add HWSIM_CMD_GET_RADIO command 2014-11-19 18:59:32 +01:00
Makefile
mwl8k.c mac80211: allow drivers to support NL80211_SCAN_FLAG_RANDOM_ADDR 2014-11-19 18:46:09 +01:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h