]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath9k: Handle fatal interrupts properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 4 Jun 2012 14:54:01 +0000 (20:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:20:31 +0000 (15:20 -0400)
commitb74713d04effbacd3d126ce94cec18742187b6ce
treea6a12fc3a930bf384a88f9193991eee59d575c15
parent781b14a3153a722fec820374271316537881076e
ath9k: Handle fatal interrupts properly

When a fatal interrupt is received or it is detected that the baseband
has hung, the chip has to be reset immediately.  Otherwise, we end up
processing spurious interrupts. Ensure that we bail out properly in
the ISR when the reset work hasn't completed yet.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c