aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/ani.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c
index 9297f574b71c..63ccb39cdcd4 100644
--- a/drivers/net/wireless/ath/ath9k/ani.c
+++ b/drivers/net/wireless/ath/ath9k/ani.c
@@ -664,7 +664,7 @@ static bool ath9k_hw_ani_read_counters(struct ath_hw *ah)
664 phyCnt1 = REG_READ(ah, AR_PHY_ERR_1); 664 phyCnt1 = REG_READ(ah, AR_PHY_ERR_1);
665 phyCnt2 = REG_READ(ah, AR_PHY_ERR_2); 665 phyCnt2 = REG_READ(ah, AR_PHY_ERR_2);
666 666
667 if (use_new_ani(ah) && (phyCnt1 < ofdm_base || phyCnt2 < cck_base)) { 667 if (!use_new_ani(ah) && (phyCnt1 < ofdm_base || phyCnt2 < cck_base)) {
668 if (phyCnt1 < ofdm_base) { 668 if (phyCnt1 < ofdm_base) {
669 ath_print(common, ATH_DBG_ANI, 669 ath_print(common, ATH_DBG_ANI,
670 "phyCnt1 0x%x, resetting " 670 "phyCnt1 0x%x, resetting "