ath9k: fix the ar9340 tx gain patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32647 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
fef3435b1d
commit
697a869645
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue