From: Pavel Roskin Date: Wed, 12 Mar 2008 20:13:31 +0000 (-0400) Subject: ath5k: disable irq handling in ath5k_hw_detach() X-Git-Tag: v2.6.25-rc7~54^2~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f50e4a8494a74bdbc0f86f1430a4cca2a4f28799;p=pandora-kernel.git 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 Acked-by: Nick Kossifidis Signed-off-by: John W. Linville --- Reading git-diff-tree failed