]> 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)
commitd73ae2fab8c8688f65e258c86b28363d5d9b0c7d
tree158cf57a112cc29a05821ec2f4ae7171ff65a174
parentb84a217b57b1e74f87478f9ce2c50b2893b892ea
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