diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-23 12:20:55 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-24 12:50:22 -0400 |
commit | a37a99102e4573145aa60a2f78a690cc8def027c (patch) | |
tree | aa9e0b718a5357ac2c7532bfb190fa92f0eeccca /drivers/net/wireless/ath/ath9k/reg.h | |
parent | 23dd9b2a43698df12f7951e0e5a5fbffd0b3108a (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index 5c4ab5026dc..9c056a80b85 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h @@ -1007,6 +1007,8 @@ enum { AR_INTR_SYNC_LOCAL_TIMEOUT | AR_INTR_SYNC_MAC_SLEEP_ACCESS), + AR9340_INTR_SYNC_LOCAL_TIMEOUT = 0x00000010, + AR_INTR_SYNC_SPURIOUS = 0xFFFFFFFF, }; |