ath9k_hw: Use appropriate rx gain table for AR9485
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Fri, 1 Apr 2011 10:02:16 +0000 (15:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Apr 2011 20:20:06 +0000 (16:20 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_hw.c

index 3daf3df024810f8aafe3cbeda864c5dd254356bb..aebaad97b190fe6ec774364df01922561dd12198 100644 (file)
@@ -66,8 +66,8 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah)
 
                /* rx/tx gain */
                INIT_INI_ARRAY(&ah->iniModesRxGain,
-                               ar9485_common_rx_gain_1_1,
-                               ARRAY_SIZE(ar9485_common_rx_gain_1_1), 2);
+                               ar9485Common_wo_xlna_rx_gain_1_1,
+                               ARRAY_SIZE(ar9485Common_wo_xlna_rx_gain_1_1), 2);
                INIT_INI_ARRAY(&ah->iniModesTxGain,
                                ar9485_modes_lowest_ob_db_tx_gain_1_1,
                                ARRAY_SIZE(ar9485_modes_lowest_ob_db_tx_gain_1_1),
@@ -220,8 +220,8 @@ static void ar9003_rx_gain_table_apply(struct ath_hw *ah)
        default:
                if (AR_SREV_9485_11(ah))
                        INIT_INI_ARRAY(&ah->iniModesRxGain,
-                                      ar9485_common_rx_gain_1_1,
-                                      ARRAY_SIZE(ar9485_common_rx_gain_1_1),
+                                      ar9485Common_wo_xlna_rx_gain_1_1,
+                                      ARRAY_SIZE(ar9485Common_wo_xlna_rx_gain_1_1),
                                       2);
                else
                        INIT_INI_ARRAY(&ah->iniModesRxGain,