ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 Jan 2013 17:37:30 +0000 (17:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 2 Jan 2013 17:37:30 +0000 (17:37 +0000)
SVN-Revision: 34979

package/mac80211/patches/300-pending_work.patch

index 40331390e57b6ae6b47121c27124a69540906cc6..38732dc9a4780adf207e4532454cd7cc1dad8390 100644 (file)
  };
  
  static inline
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -2578,7 +2578,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;
+       }