ath9k_hw: remove ah->txpower_indexoffset

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Felix Fietkau 2010-12-12 00:51:14 +01:00 committed by John W. Linville
parent 5f65c309be
commit 62a957e99f
3 changed files with 0 additions and 3 deletions

View File

@ -283,7 +283,6 @@ static void ar9002_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
{ {
struct ar5416_desc *ads = AR5416DESC(ds); struct ar5416_desc *ads = AR5416DESC(ds);
txPower += ah->txpower_indexoffset;
if (txPower > 63) if (txPower > 63)
txPower = 63; txPower = 63;

View File

@ -322,7 +322,6 @@ static void ar9003_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
if (txpower > ah->txpower_limit) if (txpower > ah->txpower_limit)
txpower = ah->txpower_limit; txpower = ah->txpower_limit;
txpower += ah->txpower_indexoffset;
if (txpower > 63) if (txpower > 63)
txpower = 63; txpower = 63;

View File

@ -762,7 +762,6 @@ struct ath_hw {
u32 *bank6Temp; u32 *bank6Temp;
u8 txpower_limit; u8 txpower_limit;
int16_t txpower_indexoffset;
int coverage_class; int coverage_class;
u32 slottime; u32 slottime;
u32 globaltxtimeout; u32 globaltxtimeout;