]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: fix host interface reset on AR934x
authorFelix Fietkau <nbd@openwrt.org>
Thu, 23 May 2013 10:20:55 +0000 (12:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 May 2013 16:50:22 +0000 (12:50 -0400)
commit13efd1068019651ea4f58b7b6ea2299a2582ccaf
treeaa9e0b718a5357ac2c7532bfb190fa92f0eeccca
parent0023c1c1ea05b5709d01a2a6d74084072293351a
ath9k_hw: fix host interface reset on AR934x

If a local bus timeout has been detected, the host interface needs to be
reset to clear the errors. AR934x uses a different synchronous interrupt
bit to indicate this, so the check needs to be fixed.

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