diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-11 18:51:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:23:32 -0500 |
commit | 62a957e99f6edced4a87f79cc49bfca42fe9a1a0 (patch) | |
tree | 5e53cc62d3757c67a406e8ba7428f491bdeca0a7 /drivers | |
parent | 5f65c309be7b9eae06136a5e7df43ea08b25d3f9 (diff) |
ath9k_hw: remove ah->txpower_indexoffset
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_mac.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_mac.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_mac.c b/drivers/net/wireless/ath/ath9k/ar9002_mac.c index f3f9c589158e..399ab3bb299b 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_mac.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_mac.c | |||
@@ -283,7 +283,6 @@ static void ar9002_hw_set11n_txdesc(struct ath_hw *ah, void *ds, | |||
283 | { | 283 | { |
284 | struct ar5416_desc *ads = AR5416DESC(ds); | 284 | struct ar5416_desc *ads = AR5416DESC(ds); |
285 | 285 | ||
286 | txPower += ah->txpower_indexoffset; | ||
287 | if (txPower > 63) | 286 | if (txPower > 63) |
288 | txPower = 63; | 287 | txPower = 63; |
289 | 288 | ||
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c index bfba6a2b741d..b6e4ee48ef78 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c | |||
@@ -322,7 +322,6 @@ static void ar9003_hw_set11n_txdesc(struct ath_hw *ah, void *ds, | |||
322 | if (txpower > ah->txpower_limit) | 322 | if (txpower > ah->txpower_limit) |
323 | txpower = ah->txpower_limit; | 323 | txpower = ah->txpower_limit; |
324 | 324 | ||
325 | txpower += ah->txpower_indexoffset; | ||
326 | if (txpower > 63) | 325 | if (txpower > 63) |
327 | txpower = 63; | 326 | txpower = 63; |
328 | 327 | ||
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 0db0ef69b4be..c20e0476ee44 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -762,7 +762,6 @@ struct ath_hw { | |||
762 | u32 *bank6Temp; | 762 | u32 *bank6Temp; |
763 | 763 | ||
764 | u8 txpower_limit; | 764 | u8 txpower_limit; |
765 | int16_t txpower_indexoffset; | ||
766 | int coverage_class; | 765 | int coverage_class; |
767 | u32 slottime; | 766 | u32 slottime; |
768 | u32 globaltxtimeout; | 767 | u32 globaltxtimeout; |