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
1 changed files with 2 additions and 2 deletions
|
@ -1200,7 +1200,7 @@ static u8 ar9003_hw_eeprom_get_tgt_pwr(struct ath_hw *ah,
|
||||||
u8 *pFreqBin;
|
u8 *pFreqBin;
|
||||||
|
|
||||||
if (is2GHz) {
|
if (is2GHz) {
|
||||||
numPiers = AR9300_NUM_5G_20_TARGET_POWERS;
|
numPiers = AR9300_NUM_2G_20_TARGET_POWERS;
|
||||||
pEepromTargetPwr = eep->calTargetPower2G;
|
pEepromTargetPwr = eep->calTargetPower2G;
|
||||||
pFreqBin = eep->calTarget_freqbin_2G;
|
pFreqBin = eep->calTarget_freqbin_2G;
|
||||||
} else {
|
} else {
|
||||||
|
@ -1236,7 +1236,7 @@ static u8 ar9003_hw_eeprom_get_ht20_tgt_pwr(struct ath_hw *ah,
|
||||||
u8 *pFreqBin;
|
u8 *pFreqBin;
|
||||||
|
|
||||||
if (is2GHz) {
|
if (is2GHz) {
|
||||||
numPiers = AR9300_NUM_5G_20_TARGET_POWERS;
|
numPiers = AR9300_NUM_2G_20_TARGET_POWERS;
|
||||||
pEepromTargetPwr = eep->calTargetPower2GHT20;
|
pEepromTargetPwr = eep->calTargetPower2GHT20;
|
||||||
pFreqBin = eep->calTarget_freqbin_2GHT20;
|
pFreqBin = eep->calTarget_freqbin_2GHT20;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue