From 8447af36e34e698726e6a03721c7db9cfd3aa2af Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 2 Jan 2013 17:37:30 +0000
Subject: [PATCH] ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve
 stability

SVN-Revision: 34979
---
 package/mac80211/patches/300-pending_work.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 40331390e57..38732dc9a47 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -1204,3 +1204,14 @@
  };
  
  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;
+ 	}
+ 
-- 
GitLab