ath9k: fix oops during driver unload
Get series with b4
b4 am 20091006055222.GA26591@vasanth-laptopVersions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ath9k-devel] [RFT 0/4] ath9k: fix oops during driver unload
Quoted 10 lines · Luis Rodriguez
This should fix an oops reported by Vasanth. Vasanth my rc3 poos out, can you let me know if this fixes the issue you saw?
Luis R. Rodriguez (4):
ath9k: movecommon->debug_masksetting toath_init_softc()
ath9k: fix oops during unload -- initialize hw prior to debugfs
ath9k: add helper to un-init the hw properly
ath9k: renameath_beaconq_setup()toath9k_hw_beaconq_setup()
Quoted 10 lines
drivers/net/wireless/ath/ath.h | 6 ++++ drivers/net/wireless/ath/ath9k/ath9k.h | 1 - drivers/net/wireless/ath/ath9k/beacon.c | 12 ------- drivers/net/wireless/ath/ath9k/debug.c | 5 --- drivers/net/wireless/ath/ath9k/hw.c | 11 ++++++- drivers/net/wireless/ath/ath9k/mac.c | 13 ++++++++ drivers/net/wireless/ath/ath9k/mac.h | 1 + drivers/net/wireless/ath/ath9k/main.c | 50 ++++++++++++++++++------------ 8 files changed, 60 insertions(+), 39 deletions(-)
The issue is not fixed completely, ah->common is used after ah is freed in ath_cleanup() which makes rmmod ath9k stuck in the middle.
Vasanth