linux/drivers/net/wireless/ath/wil6210
Lior David eb57a5b387 wil6210: abort P2P search when stopping P2P device
The nl80211 layer expects P2P search operation to be aborted
if needed when stopping P2P device. If the P2P search operation
is still running after returning from stop_p2p_device
it causes a WARN_ON and possibly a kernel crash.
Fix this by aborting the P2P search in wil_cfg80211_stop_p2p_device
and preventing P2P search from being started on a stopped P2P
device.
Note, the fix does not cover the case where a regular scan
is started on the P2P device. It will be completed in the
future when support is added for aborting a scan operation.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2016-06-14 16:20:18 +03:00
..
boot_loader.h wil6210: report boot loader error 2015-08-06 09:44:02 +03:00
cfg80211.c wil6210: abort P2P search when stopping P2P device 2016-06-14 16:20:18 +03:00
debug.c wil6210: align wil log functions to wil_dbg_ratelimited implementation 2016-05-28 11:19:29 +03:00
debugfs.c wil6210: add support for device led configuration 2016-05-11 22:45:20 +03:00
ethtool.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
fw_inc.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
fw.c wil6210: use inline functions for register access 2015-08-06 09:43:43 +03:00
fw.h wil6210: firmware download 2014-09-11 15:27:36 -04:00
interrupt.c wil6210: prevent deep sleep of 60G device in critical paths 2016-04-26 14:57:46 +03:00
ioctl.c wil6210: clean ioctl debug message 2016-03-07 11:43:20 +02:00
Kconfig wil6210: dump firmware memory when firmware crashes 2015-10-09 11:39:19 +03:00
main.c wil6210: add support for device led configuration 2016-05-11 22:45:20 +03:00
Makefile wil6210: p2p initial support 2016-03-07 11:43:20 +02:00
netdev.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
p2p.c wil6210: fix chan check in wil_p2p_listen 2016-06-14 16:20:14 +03:00
pcie_bus.c wil6210: add pm_notify handling 2016-05-28 11:19:25 +03:00
pm.c wil6210: add pm_notify handling 2016-05-28 11:19:25 +03:00
pmc.c wil6210: pmc logger bug fix 2015-10-09 11:39:09 +03:00
pmc.h wil6210: Add pmc debug mechanism memory management 2015-05-04 20:55:43 +03:00
rx_reorder.c wil6210: remove BACK RX and TX workers 2016-03-07 11:43:19 +02:00
trace.c wil6210: trace support 2013-05-22 15:08:27 -04:00
trace.h wil6210: switch to generated wmi.h 2016-03-07 11:43:20 +02:00
txrx.c wil6210: fix dma mapping error cleanup in __wil_tx_vring_tso 2016-05-28 11:19:21 +03:00
txrx.h wil6210: replay attack detection 2016-03-07 11:43:19 +02:00
wil6210.h wil6210: abort P2P search when stopping P2P device 2016-06-14 16:20:18 +03:00
wil_crash_dump.c wil6210: support for platform specific crash recovery 2016-01-07 15:00:44 +02:00
wil_platform.c wil6210: support for platform specific crash recovery 2016-01-07 15:00:44 +02:00
wil_platform.h wil6210: add pm_notify handling 2016-05-28 11:19:25 +03:00
wmi.c wil6210: add support for device led configuration 2016-05-11 22:45:20 +03:00
wmi.h wil6210: add support for device led configuration 2016-05-11 22:45:20 +03:00