]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: do not access hardware on IRQs during reset
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Nov 2014 20:58:32 +0000 (21:58 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Dec 2014 20:57:22 +0000 (15:57 -0500)
commit03f5c3a45991eacdfa4929000c20e5ff79e320ae
tree158cf57a112cc29a05821ec2f4ae7171ff65a174
parentf32b1b93104792ec6cf2aa4c9d36c5f2f6aca7b2
ath9k: do not access hardware on IRQs during reset

Instead of killing interrupts during reset when the first one happens,
kill them before issuing the reset.
This fixes an easy to reproduce crash with multiple cards sharing the
same IRQ.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c