Skip to content

Commit

Permalink
ath9k_hw: remove ah->txpower_indexoffset
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Dec 13, 2010
1 parent 5f65c30 commit 62a957e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath9k/ar9002_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath9k/ar9003_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@ static void ar9003_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
if (txpower > ah->txpower_limit)
txpower = ah->txpower_limit;

txpower += ah->txpower_indexoffset;
if (txpower > 63)
txpower = 63;

Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath9k/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ struct ath_hw {
u32 *bank6Temp;

u8 txpower_limit;
int16_t txpower_indexoffset;
int coverage_class;
u32 slottime;
u32 globaltxtimeout;
Expand Down

0 comments on commit 62a957e

Please sign in to comment.