ath9k_hw: fix potential spurious tx error bit interpretation
authorFelix Fietkau <nbd@openwrt.org>
Thu, 21 Oct 2010 00:47:23 +0000 (02:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:19 +0000 (13:24 -0500)
commitff32d9cd2c4107224a28f39d3c72eec66d566e09
tree6d2296d153fd27e6daecffa4a88941714578613a
parent78a7685e1e44c6d4b6f79c73687b9322e40b040e
ath9k_hw: fix potential spurious tx error bit interpretation

According to documentation, AR_ExcessiveRetries, AR_Filtered and
AR_FIFOUnderrun are only valid if AR_FrmXmitOK is clear.

Not checking this might result in suboptimal FIFO settings, unnecessary
retransmissions, or other connectivity issues.

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