diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-12-15 07:30:53 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-16 15:22:31 -0500 |
commit | 45ef6a0bcc9cd8f13004789ec6decb52e1d3045c (patch) | |
tree | 6191d717a17f9570658852a41b2f8694c1e6d147 /drivers/net/wireless/ath/ath9k/main.c | |
parent | 7072bf62fb7abe5a91389d6271da520f29c79326 (diff) | |
download | kernel_samsung_tuna-45ef6a0bcc9cd8f13004789ec6decb52e1d3045c.zip kernel_samsung_tuna-45ef6a0bcc9cd8f13004789ec6decb52e1d3045c.tar.gz kernel_samsung_tuna-45ef6a0bcc9cd8f13004789ec6decb52e1d3045c.tar.bz2 |
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/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 4d64716..cb53fbb 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -533,7 +533,7 @@ set_timer: if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_PAPRD) && ah->caldata) { if (!ah->caldata->paprd_done) ieee80211_queue_work(sc->hw, &sc->paprd_work); - else + else if (!ah->paprd_table_write_done) ath_paprd_activate(sc); } } |