diff options
author | Pavel Roskin <proski@gnu.org> | 2010-01-31 02:37:24 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-01 20:40:09 (GMT) |
commit | ab5132a26236e308c6d3d832a3e04fca351656d8 (patch) | |
tree | db473e3bd020a5e2f3fe02a381bb24e7b285ab5e /kernel/slow-work.c | |
parent | e389900ed31975f3ce091764bf394b045058dad1 (diff) | |
download | linux-fsl-qoriq-ab5132a26236e308c6d3d832a3e04fca351656d8.tar.xz |
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>
Diffstat (limited to 'kernel/slow-work.c')
0 files changed, 0 insertions, 0 deletions