summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9002_mac.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-12 00:51:14 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-12-13 15:23:32 -0500
commit62a957e99f6edced4a87f79cc49bfca42fe9a1a0 (patch)
tree5e53cc62d3757c67a406e8ba7428f491bdeca0a7 /drivers/net/wireless/ath/ath9k/ar9002_mac.c
parent5f65c309be7b9eae06136a5e7df43ea08b25d3f9 (diff)
downloadlinux-stable-62a957e99f6edced4a87f79cc49bfca42fe9a1a0.tar.gz
linux-stable-62a957e99f6edced4a87f79cc49bfca42fe9a1a0.tar.bz2
linux-stable-62a957e99f6edced4a87f79cc49bfca42fe9a1a0.zip
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/net/wireless/ath/ath9k/ar9002_mac.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_mac.c1
1 files changed, 0 insertions, 1 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,
{
struct ar5416_desc *ads = AR5416DESC(ds);
- txPower += ah->txpower_indexoffset;
if (txPower > 63)
txPower = 63;