mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
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>
This commit is contained in:
parent
597a94b340
commit
d10baf99ff
@ -1200,7 +1200,7 @@ static u8 ar9003_hw_eeprom_get_tgt_pwr(struct ath_hw *ah,
|
||||
u8 *pFreqBin;
|
||||
|
||||
if (is2GHz) {
|
||||
numPiers = AR9300_NUM_5G_20_TARGET_POWERS;
|
||||
numPiers = AR9300_NUM_2G_20_TARGET_POWERS;
|
||||
pEepromTargetPwr = eep->calTargetPower2G;
|
||||
pFreqBin = eep->calTarget_freqbin_2G;
|
||||
} else {
|
||||
@ -1236,7 +1236,7 @@ static u8 ar9003_hw_eeprom_get_ht20_tgt_pwr(struct ath_hw *ah,
|
||||
u8 *pFreqBin;
|
||||
|
||||
if (is2GHz) {
|
||||
numPiers = AR9300_NUM_5G_20_TARGET_POWERS;
|
||||
numPiers = AR9300_NUM_2G_20_TARGET_POWERS;
|
||||
pEepromTargetPwr = eep->calTargetPower2GHT20;
|
||||
pFreqBin = eep->calTarget_freqbin_2GHT20;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user