ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 Jan 2013 17:40:31 +0000 (17:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 2 Jan 2013 17:40:31 +0000 (17:40 +0000)
Backport of r34979

SVN-Revision: 34980

package/mac80211/patches/300-pending_work.patch

index 6b8508f..1fc9cd9 100644 (file)
                return;
        }
  
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -2568,7 +2568,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
+       if (AR_SREV_9300_20_OR_LATER(ah)) {
+               ah->enabled_cals |= TX_IQ_CAL;
+-              if (AR_SREV_9485_OR_LATER(ah))
++              if (AR_SREV_9485_OR_LATER(ah) && !AR_SREV_9340(ah))
+                       ah->enabled_cals |= TX_IQ_ON_AGC_CAL;
+       }