]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: disable irq handling in ath5k_hw_detach()
authorPavel Roskin <proski@gnu.org>
Wed, 12 Mar 2008 20:13:31 +0000 (16:13 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2008 19:57:25 +0000 (15:57 -0400)
commit9d7f959966b89357e5c16dae6ab3dff126c476f9
tree8e8198f8eec78a56deb4e699d6107d9a0a58abec
parent28f856255aaa39aa514513814bf9a362c322e248
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>
drivers/net/wireless/ath5k/hw.c