diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:39:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:47 -0400 |
commit | 5088c2f1a2475546d9a79b515bde6d65b8681e51 (patch) | |
tree | 64b925a80e8d8d7e7b0a8824a471646ceaf5bd79 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 4adfcdedd4e0c05c1b659da5f2b8bc4e2d4a86df (diff) |
ath9k: Initialize and configure tx status for EDMA
Also add a function to clean up tx status ring.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 1a7cf20d31ea..55f79f5712d4 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -2093,6 +2093,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) | |||
2093 | pCap->rx_lp_qdepth = ATH9K_HW_RX_LP_QDEPTH; | 2093 | pCap->rx_lp_qdepth = ATH9K_HW_RX_LP_QDEPTH; |
2094 | pCap->rx_status_len = sizeof(struct ar9003_rxs); | 2094 | pCap->rx_status_len = sizeof(struct ar9003_rxs); |
2095 | pCap->tx_desc_len = sizeof(struct ar9003_txc); | 2095 | pCap->tx_desc_len = sizeof(struct ar9003_txc); |
2096 | pCap->txs_len = sizeof(struct ar9003_txs); | ||
2096 | } else { | 2097 | } else { |
2097 | pCap->tx_desc_len = sizeof(struct ath_desc); | 2098 | pCap->tx_desc_len = sizeof(struct ath_desc); |
2098 | } | 2099 | } |