aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-07 20:03:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-07 20:03:35 +0000
commitbe8a73be3dfc664eaf0135fec43fae27b8e3176d (patch)
tree42e3e4f7225e04046a56be6c67710acd2fc0d76c
parente764dd1132061f4719a4e78e20ab14dd21dd4f57 (diff)
downloadupstream-be8a73be3dfc664eaf0135fec43fae27b8e3176d.tar.gz
upstream-be8a73be3dfc664eaf0135fec43fae27b8e3176d.tar.bz2
upstream-be8a73be3dfc664eaf0135fec43fae27b8e3176d.zip
ath9k: fix the ar9340 tx gain patch
SVN-Revision: 32647
-rw-r--r--package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch b/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch
index 66eaf427b8..edde8fa366 100644
--- a/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch
+++ b/package/mac80211/patches/568-ath9k_fix_ar9340_tx_gain.patch
@@ -1,6 +1,15 @@
--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
-@@ -605,7 +605,7 @@ static void ar9003_tx_gain_table_mode2(s
+@@ -501,7 +501,7 @@ static void ar9003_tx_gain_table_mode1(s
+ 5);
+ else if (AR_SREV_9340(ah))
+ INIT_INI_ARRAY(&ah->iniModesTxGain,
+- ar9340Modes_lowest_ob_db_tx_gain_table_1p0,
++ ar9340Modes_high_ob_db_tx_gain_table_1p0,
+ ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0),
+ 5);
+ else if (AR_SREV_9485_11(ah))
+@@ -540,7 +540,7 @@ static void ar9003_tx_gain_table_mode2(s
5);
else if (AR_SREV_9340(ah))
INIT_INI_ARRAY(&ah->iniModesTxGain,
@@ -9,7 +18,7 @@
ARRAY_SIZE(ar9340Modes_lowest_ob_db_tx_gain_table_1p0),
5);
else if (AR_SREV_9485_11(ah))
-@@ -639,7 +639,7 @@ static void ar9003_tx_gain_table_mode3(s
+@@ -574,7 +574,7 @@ static void ar9003_tx_gain_table_mode3(s
5);
else if (AR_SREV_9340(ah))
INIT_INI_ARRAY(&ah->iniModesTxGain,