aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-26 15:04:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-27 16:09:18 -0400
commitd10baf99ffd1926c30401342779866ae7d73e2c4 (patch)
treed54c51f11eb69418d256685d787cb3894e70dc5c
parent597a94b340f98bf4596ef59e938875afaa1815d6 (diff)
ath9k_hw: Fix typos in tx rate power level parsing for AR9003
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index 79b0e2874731..25dd44d54b72 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -1200,7 +1200,7 @@ static u8 ar9003_hw_eeprom_get_tgt_pwr(struct ath_hw *ah,
1200 u8 *pFreqBin; 1200 u8 *pFreqBin;
1201 1201
1202 if (is2GHz) { 1202 if (is2GHz) {
1203 numPiers = AR9300_NUM_5G_20_TARGET_POWERS; 1203 numPiers = AR9300_NUM_2G_20_TARGET_POWERS;
1204 pEepromTargetPwr = eep->calTargetPower2G; 1204 pEepromTargetPwr = eep->calTargetPower2G;
1205 pFreqBin = eep->calTarget_freqbin_2G; 1205 pFreqBin = eep->calTarget_freqbin_2G;
1206 } else { 1206 } else {
@@ -1236,7 +1236,7 @@ static u8 ar9003_hw_eeprom_get_ht20_tgt_pwr(struct ath_hw *ah,
1236 u8 *pFreqBin; 1236 u8 *pFreqBin;
1237 1237
1238 if (is2GHz) { 1238 if (is2GHz) {
1239 numPiers = AR9300_NUM_5G_20_TARGET_POWERS; 1239 numPiers = AR9300_NUM_2G_20_TARGET_POWERS;
1240 pEepromTargetPwr = eep->calTargetPower2GHT20; 1240 pEepromTargetPwr = eep->calTargetPower2GHT20;
1241 pFreqBin = eep->calTarget_freqbin_2GHT20; 1241 pFreqBin = eep->calTarget_freqbin_2GHT20;
1242 } else { 1242 } else {