linux_dsm_epyc7002/drivers/net/wireless/ath/ath9k
Pavel Roskin ab5132a262 ath9k: fix access to freed data on unload
Calling ath_bus_cleanup() after ieee80211_free_hw() resulted in access
to common->bus_ops, which is already freed as part of the device data.

Remove the cleanup field in struct ath_bus_ops, as it was never used
properly.  Remove ath_bus_cleanup().  Merge cleanup functions in place
of the ath_bus_cleanup() calls.  Take care not to use any device data
after ieee80211_free_hw().

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-02-01 15:40:09 -05:00
..
ahb.c ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
ani.c ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
ani.h ath9k: Nuke struct ath9k_node_stats 2009-08-20 11:36:08 -04:00
ath9k.h ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
beacon.c ath9k: cleanup slot time and ack/cts timeout handling 2010-01-15 17:02:08 -05:00
btcoex.c ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
btcoex.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
calib.c ath9k_hw: remove bogus register write on ath9k_hw_9271_pa_cal() 2009-10-30 16:49:19 -04:00
calib.h atheros: add common debug printing 2009-10-07 16:39:29 -04:00
common.c ath9k: Proper padding/unpadding for the TX/RX path. 2009-11-28 15:04:50 -05:00
common.h ath9k: Proper padding/unpadding for the TX/RX path. 2009-11-28 15:04:50 -05:00
debug.c ath9k: allocate string buffer in read_file_dma() by kmalloc() 2010-02-01 15:40:04 -05:00
debug.h ath9k: Add debugfs file for RX errors 2010-01-12 14:02:06 -05:00
eeprom_4k.c ath9k_hw: modify the rf control register for ar9271 revision 1.0 2009-10-30 16:50:36 -04:00
eeprom_9287.c atheros: move bus ops to ath_common 2009-10-07 16:39:30 -04:00
eeprom_def.c ath9k: Fix bugs in handling TX power 2009-10-07 16:39:40 -04:00
eeprom.c atheros: move bus ops to ath_common 2009-10-07 16:39:30 -04:00
eeprom.h ath9k: Fix bugs in handling TX power 2009-10-07 16:39:40 -04:00
gpio.c ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
hw.c ath9k: implement coverage class support 2010-01-15 17:03:00 -05:00
hw.h ath9k: implement coverage class support 2010-01-15 17:03:00 -05:00
init.c ath9k: improve max rate retry handling 2010-01-25 16:36:27 -05:00
initvals.h ath9k_hw: update register initialization/reset values for ar9271 2009-10-30 16:50:36 -04:00
Kconfig ath9k: Fix Kconfig depends for ATH9K_DEBUGFS 2010-01-04 16:09:47 -05:00
mac.c ath9k: Fix TX queue draining 2009-12-21 11:32:19 -05:00
mac.h ath9k: Add debugfs file for RX errors 2010-01-12 14:02:06 -05:00
main.c ath: make gcc check format arguments of ath_print(), fix all misuses 2010-02-01 15:40:04 -05:00
Makefile ath9k: Add new file init.c 2010-01-12 14:02:05 -05:00
pci.c ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
phy.c ath9k: Remove a few unused functions 2009-11-18 17:09:12 -05:00
phy.h ath9k: Remove a few unused functions 2009-11-18 17:09:12 -05:00
rc.c ath9k: improve max rate retry handling 2010-01-25 16:36:27 -05:00
rc.h ath9k: add MCS rate index back to debufs rcstat 2009-12-22 13:55:56 -05:00
recv.c ath: make gcc check format arguments of ath_print(), fix all misuses 2010-02-01 15:40:04 -05:00
reg.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
virtual.c ath9k: Cleanup init/deinit routines 2010-01-12 14:02:05 -05:00
xmit.c ath: make gcc check format arguments of ath_print(), fix all misuses 2010-02-01 15:40:04 -05:00