linux/drivers/net/wireless/ath
Luis R. Rodriguez 7fc0357479 ath9k: avoid queueing hw check work when suspended
The following issue was reported.

WARNING: at net/mac80211/util.c:599 ieee80211_can_queue_work.isra.7+0x32/0x40 [mac80211]()
Hardware name: iMac12,1
queueing ieee80211 work while going to suspend
Pid: 0, comm: swapper/0 Tainted: PF          O 3.8.2-206.fc18.x86_64 #1
Call Trace: Mar 16 09:39:17 Parags-iMac kernel: [ 3993.642992]  <IRQ>
[<ffffffff8105e61f>] warn_slowpath_common+0x7f/0xc0
[<ffffffffa0581420>] ? ath_start_rx_poll+0x70/0x70 [ath9k]
<ffffffff8105e716>] warn_slowpath_fmt+0x46/0x50
[<ffffffffa045b542>] ieee80211_can_queue_work.isra.7+0x32/0x40

Fix this by avoiding to queue the work if our device has
already been marked as suspended or stopped.

Reported-by: Parag Warudkar <parag.lkml@gmail.com>
Tested-by: Parag Warudkar <parag.lkml@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-03-27 11:07:05 -04:00
..
ar5523 wireless: allow Atheros card to not depend on ath.ko 2012-11-30 13:38:16 -05:00
ath5k NET: ath5k, check ath5k_eeprom_mode_from_channel retval 2013-02-08 14:51:35 -05:00
ath6kl Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
ath9k ath9k: avoid queueing hw check work when suspended 2013-03-27 11:07:05 -04:00
carl9170 Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
wil6210 Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
ath.h ath9k: Add a module parameter to enable diversity 2012-09-24 14:59:11 -04:00
debug.c
hw.c ath_hw: Use common REG_WRITE parameter order 2012-10-19 15:53:06 -04:00
Kconfig wireless: add new wil6210 802.11ad 60GHz driver 2013-01-04 16:10:53 -05:00
key.c ath9k: fix dynamic WEP related regression 2012-06-25 15:14:13 -04:00
main.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
Makefile wireless: add new wil6210 802.11ad 60GHz driver 2013-01-04 16:10:53 -05:00
reg.h
regd_common.h
regd.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd.h wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00