diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2014-12-30 23:10:20 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-15 14:47:34 +0200 |
commit | b5939e8c71292bbedf1d36adf7784ce2d71ae3d7 (patch) | |
tree | 749a0e60d441c5148e71c9dea67678d081bf1261 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 9ddad58bee51663001ff118d65cc9166bafcd122 (diff) | |
download | lwn-b5939e8c71292bbedf1d36adf7784ce2d71ae3d7.tar.gz lwn-b5939e8c71292bbedf1d36adf7784ce2d71ae3d7.zip |
ath9k: enable per-packet TPC on AR9002 based chips
Enable per-packet TPC on AR9002 based chips by default
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 051540f78030..82d8f32a3461 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -424,8 +424,7 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah) ah->power_mode = ATH9K_PM_UNDEFINED; ah->htc_reset_init = true; - /* ar9002 does not support TPC for the moment */ - ah->tpc_enabled = !!AR_SREV_9300_20_OR_LATER(ah); + ah->tpc_enabled = true; ah->ani_function = ATH9K_ANI_ALL; if (!AR_SREV_9300_20_OR_LATER(ah)) |