linux/drivers/net/wireless/ath/ath5k
Stanislaw Gruszka db17834043 ath5k: do not reschedule tx_complete_work on stop
This patch claim to fix "WARNING: at net/mac80211/util.c:599
ieee80211_can_queue_work.isra.7+0x30/0x40", which was reported at:

https://bugzilla.redhat.com/show_bug.cgi?id=922295

We use ATH_STAT_STARTED flag to disallow to perform
ath5k_tx_complete_poll_work() code, hence reschedule
ah->tx_complete_work, when we stop device. This flag was defined in
ath5k code, but it was not used.

I didn't get feedback if the fix works, so patch is compile only tested.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-05-03 13:55:08 -04:00
..
ahb.c ath5k: Use module_platform_driver macro for ahb.c 2012-11-16 14:11:15 -05:00
ani.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
ani.h
ath5k.h ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
attach.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
base.c ath5k: do not reschedule tx_complete_work on stop 2013-05-03 13:55:08 -04:00
base.h
caps.c
debug.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-04-12 13:49:28 -04:00
debug.h
desc.c ath5k: Remove extraneous statements from ath5k_hw_proc_4word_tx_status and ath5k_hw_proc_2word_status. 2012-04-11 16:23:58 -04:00
desc.h
dma.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
eeprom.c ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
eeprom.h ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
gpio.c
initvals.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
Kconfig wireless: allow Atheros card to not depend on ath.ko 2012-11-30 13:38:16 -05:00
led.c ath5k: remove __dev* attributes 2012-12-06 15:04:56 -05:00
mac80211-ops.c mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan 2013-03-25 19:19:35 +01:00
Makefile ath5k: use more idiomatic tracing include style 2013-04-12 15:29:14 -04:00
pci.c ath5k: remove __dev* attributes 2012-12-06 15:04:56 -05:00
pcu.c mac80211: remove hw.conf.channel usage where possible 2012-04-13 14:32:50 -04:00
phy.c ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
qcu.c mac80211: remove hw.conf.channel usage where possible 2012-04-13 14:32:50 -04:00
reg.h
reset.c ath5k: cleanup channel to eprom_mode function 2013-03-06 16:24:27 -05:00
rfbuffer.h
rfgain.h
rfkill.c
sysfs.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
trace.h ath5k: use more idiomatic tracing include style 2013-04-12 15:29:14 -04:00