linux_dsm_epyc7002/drivers/net/wireless/ath
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
..
ar9170 mac80211: remove struct ieee80211_if_init_conf 2009-12-28 16:55:07 -05:00
ath5k ath5k: adding LED support for AR5BXB63 cards 2010-01-27 15:01:24 -05:00
ath9k ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
ath.h ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
debug.c atheros: add common debug printing 2009-10-07 16:39:29 -04:00
debug.h ath: make gcc check format arguments of ath_print(), fix all misuses 2010-02-01 15:40:04 -05:00
hw.c atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
main.c ath: add common ath_rxbuf_alloc() and make ath9k use it 2009-08-14 09:14:05 -04:00
Makefile ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
reg.h atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
regd_common.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00
regd.c cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
regd.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00