ath5k: revert a buggy tx power related patch
SVN-Revision: 33062
This commit is contained in:
parent
31e46b4293
commit
9f73d47912
1 changed files with 0 additions and 20 deletions
|
@ -4313,26 +4313,6 @@
|
||||||
ieee80211_get_tx_rate(ah->hw, info)->hw_value,
|
ieee80211_get_tx_rate(ah->hw, info)->hw_value,
|
||||||
1, AR5K_TXKEYIX_INVALID,
|
1, AR5K_TXKEYIX_INVALID,
|
||||||
antenna, flags, 0, 0);
|
antenna, flags, 0, 0);
|
||||||
--- a/drivers/net/wireless/ath/ath5k/eeprom.c
|
|
||||||
+++ b/drivers/net/wireless/ath/ath5k/eeprom.c
|
|
||||||
@@ -524,7 +524,7 @@ ath5k_eeprom_read_freq_list(struct ath5k
|
|
||||||
|
|
||||||
freq1 = val & 0xff;
|
|
||||||
if (!freq1)
|
|
||||||
- break;
|
|
||||||
+ continue;
|
|
||||||
|
|
||||||
pc[i++].freq = ath5k_eeprom_bin2freq(ee,
|
|
||||||
freq1, mode);
|
|
||||||
@@ -532,7 +532,7 @@ ath5k_eeprom_read_freq_list(struct ath5k
|
|
||||||
|
|
||||||
freq2 = (val >> 8) & 0xff;
|
|
||||||
if (!freq2)
|
|
||||||
- break;
|
|
||||||
+ continue;
|
|
||||||
|
|
||||||
pc[i++].freq = ath5k_eeprom_bin2freq(ee,
|
|
||||||
freq2, mode);
|
|
||||||
--- a/drivers/net/wireless/ath/ath5k/phy.c
|
--- a/drivers/net/wireless/ath/ath5k/phy.c
|
||||||
+++ b/drivers/net/wireless/ath/ath5k/phy.c
|
+++ b/drivers/net/wireless/ath/ath5k/phy.c
|
||||||
@@ -3518,6 +3518,7 @@ ath5k_setup_rate_powertable(struct ath5k
|
@@ -3518,6 +3518,7 @@ ath5k_setup_rate_powertable(struct ath5k
|
||||||
|
|
Loading…
Reference in a new issue