diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:39:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:44 -0400 |
commit | 744d402580f959072f6b805a98745837f185c8e0 (patch) | |
tree | 660ea24e3a9d7326d63c249f02a10a7e047be1cf /drivers/net/wireless/ath/ath9k/hw.c | |
parent | cc610ac0557b0ad0dcffdff1230cef28a970d755 (diff) |
ath9k_hw: Add function to configure tx status ring buffer
Also reset tx status ring suring chip reset.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 824dd9e7256..19e2c3cd147 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -895,6 +895,9 @@ static inline void ath9k_hw_set_dma(struct ath_hw *ah) | |||
895 | REG_WRITE(ah, AR_PCU_TXBUF_CTRL, | 895 | REG_WRITE(ah, AR_PCU_TXBUF_CTRL, |
896 | AR_PCU_TXBUF_CTRL_USABLE_SIZE); | 896 | AR_PCU_TXBUF_CTRL_USABLE_SIZE); |
897 | } | 897 | } |
898 | |||
899 | if (AR_SREV_9300_20_OR_LATER(ah)) | ||
900 | ath9k_hw_reset_txstatus_ring(ah); | ||
898 | } | 901 | } |
899 | 902 | ||
900 | static void ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) | 903 | static void ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) |