Commit 2a0b50c7 authored by Gabor Juhos's avatar Gabor Juhos Committed by John W. Linville

ath9k: fix indentation in ar9003_hw_set_power_per_rate_table

The current indentation is off by one tab.
Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5fc51243
...@@ -4929,8 +4929,7 @@ static void ar9003_hw_set_power_per_rate_table(struct ath_hw *ah, ...@@ -4929,8 +4929,7 @@ static void ar9003_hw_set_power_per_rate_table(struct ath_hw *ah,
twiceMinEdgePower); twiceMinEdgePower);
else { else {
/* specific */ /* specific */
twiceMaxEdgePower = twiceMaxEdgePower = twiceMinEdgePower;
twiceMinEdgePower;
break; break;
} }
} }
...@@ -4948,32 +4947,28 @@ static void ar9003_hw_set_power_per_rate_table(struct ath_hw *ah, ...@@ -4948,32 +4947,28 @@ static void ar9003_hw_set_power_per_rate_table(struct ath_hw *ah,
case CTL_11B: case CTL_11B:
for (i = ALL_TARGET_LEGACY_1L_5L; for (i = ALL_TARGET_LEGACY_1L_5L;
i <= ALL_TARGET_LEGACY_11S; i++) i <= ALL_TARGET_LEGACY_11S; i++)
pPwrArray[i] = pPwrArray[i] = (u8)min((u16)pPwrArray[i],
(u8)min((u16)pPwrArray[i],
minCtlPower); minCtlPower);
break; break;
case CTL_11A: case CTL_11A:
case CTL_11G: case CTL_11G:
for (i = ALL_TARGET_LEGACY_6_24; for (i = ALL_TARGET_LEGACY_6_24;
i <= ALL_TARGET_LEGACY_54; i++) i <= ALL_TARGET_LEGACY_54; i++)
pPwrArray[i] = pPwrArray[i] = (u8)min((u16)pPwrArray[i],
(u8)min((u16)pPwrArray[i],
minCtlPower); minCtlPower);
break; break;
case CTL_5GHT20: case CTL_5GHT20:
case CTL_2GHT20: case CTL_2GHT20:
for (i = ALL_TARGET_HT20_0_8_16; for (i = ALL_TARGET_HT20_0_8_16;
i <= ALL_TARGET_HT20_23; i++) i <= ALL_TARGET_HT20_23; i++)
pPwrArray[i] = pPwrArray[i] = (u8)min((u16)pPwrArray[i],
(u8)min((u16)pPwrArray[i],
minCtlPower); minCtlPower);
break; break;
case CTL_5GHT40: case CTL_5GHT40:
case CTL_2GHT40: case CTL_2GHT40:
for (i = ALL_TARGET_HT40_0_8_16; for (i = ALL_TARGET_HT40_0_8_16;
i <= ALL_TARGET_HT40_23; i++) i <= ALL_TARGET_HT40_23; i++)
pPwrArray[i] = pPwrArray[i] = (u8)min((u16)pPwrArray[i],
(u8)min((u16)pPwrArray[i],
minCtlPower); minCtlPower);
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment