linux/drivers/net/wireless/ath5k
Bob Copeland 8bdd5b9c6b ath5k: fix suspend-related oops on rmmod
Based on a patch by Elias Oltmanns, we call ath5k_init in resume even
if we didn't previously open the device.  Besides starting up the
device unnecessarily, this also causes an oops on rmmod because
mac80211 will not invoke ath5k_stop and softirqs are left running after
the module has been unloaded.  Add a new state bit, ATH_STAT_STARTED,
to indicate that we have been started up.

Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-10-22 18:09:32 -04:00
..
ath5k.h ath5k: implement multi-rate retry support, fix tx status reporting 2008-10-06 18:14:57 -04:00
attach.c ath5k: Use new srevs to properly attach radio chips 2008-09-30 14:07:26 -04:00
base.c ath5k: fix suspend-related oops on rmmod 2008-10-22 18:09:32 -04:00
base.h ath5k: fix suspend-related oops on rmmod 2008-10-22 18:09:32 -04:00
caps.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
debug.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
debug.h ath5k: remove obsolete declaration of struct ieee80211_hw_mode 2008-08-01 15:31:33 -04:00
desc.c ath5k: implement multi-rate retry support, fix tx status reporting 2008-10-06 18:14:57 -04:00
desc.h ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
dma.c ath5k: Use QUIET mechanism on tx dma stop 2008-09-30 14:07:26 -04:00
eeprom.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
eeprom.h ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
gpio.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
initvals.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
Kconfig ath5k: convert LED code to use mac80211 triggers 2008-06-27 09:09:17 -04:00
Makefile ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
pcu.c ath5k: write beacon control register twice when resetting tsf 2008-09-30 14:07:25 -04:00
phy.c ath5k: Fix bad udelay calls on AR5210 code 2008-09-24 16:18:01 -04:00
qcu.c ath5k: Update registers and SREV ids v2 2008-09-30 14:07:25 -04:00
reg.h ath5k: Use QUIET mechanism on tx dma stop 2008-09-30 14:07:26 -04:00
reset.c ath5k: Update registers and SREV ids v2 2008-09-30 14:07:25 -04:00