commit | f50e4a8494a74bdbc0f86f1430a4cca2a4f28799 | [log] [tgz] |
---|---|---|
author | Pavel Roskin <proski@gnu.org> | Wed Mar 12 16:13:31 2008 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Mar 13 15:57:25 2008 -0400 |
tree | 8e8198f8eec78a56deb4e699d6107d9a0a58abec | |
parent | 5abdc49d6e521126ed4c15e913a5c30f6dd95e6b [diff] |
ath5k: disable irq handling in ath5k_hw_detach() Once ah has been freed, it may not be accessed. Set ATH_STAT_INVALID bit to make the interrupt handler return IRQ_NONE without accessing ah. This fixes oops on unload with CONFIG_DEBUG_SHIRQ enabled. Signed-off-by: Pavel Roskin <proski@gnu.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>