diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-12-15 18:30:53 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-16 23:22:31 +0300 |
commit | 45ef6a0bcc9cd8f13004789ec6decb52e1d3045c (patch) | |
tree | 6191d717a17f9570658852a41b2f8694c1e6d147 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 7072bf62fb7abe5a91389d6271da520f29c79326 (diff) | |
download | linux-45ef6a0bcc9cd8f13004789ec6decb52e1d3045c.tar.xz |
ath9k_hw: Configure appropriate Tx power when PAPRD fails
Target Tx power available in eeprom is for PAPRD. If PAPRD
fails, paprd scale factor needs to be detected from this
target tx power.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 0f373be9ef8c..ddda76fcd180 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -1272,6 +1272,8 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, ath9k_hw_mark_phy_inactive(ah); + ah->paprd_table_write_done = false; + /* Only required on the first reset */ if (AR_SREV_9271(ah) && ah->htc_reset_init) { REG_WRITE(ah, |