Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 301013
b: refs/heads/master
c: d9e9145
h: refs/heads/master
i:
  301011: 8fe2dce
v: v3
  • Loading branch information
Gabor Juhos authored and John W. Linville committed Apr 16, 2012
1 parent d16f847 commit 8a0967e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b0a3b7eb37730c369cc47783549dcf6f54a1cd0
refs/heads/master: d9e9145e497f2cb9a3891a065342ca0593824aa2
15 changes: 1 addition & 14 deletions trunk/drivers/net/wireless/ath/ath9k/eeprom_def.c
Original file line number Diff line number Diff line change
Expand Up @@ -1263,20 +1263,7 @@ static void ath9k_hw_def_set_txpower(struct ath_hw *ah,
regulatory->max_power_level = ratesArray[i];
}

switch(ar5416_get_ntxchains(ah->txchainmask)) {
case 1:
break;
case 2:
regulatory->max_power_level += INCREASE_MAXPOW_BY_TWO_CHAIN;
break;
case 3:
regulatory->max_power_level += INCREASE_MAXPOW_BY_THREE_CHAIN;
break;
default:
ath_dbg(ath9k_hw_common(ah), EEPROM,
"Invalid chainmask configuration\n");
break;
}
ath9k_hw_update_regulatory_maxpower(ah);

if (test)
return;
Expand Down

0 comments on commit 8a0967e

Please sign in to comment.