diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:39:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:48 -0400 |
commit | e5003249ae7165654e13fd4809caa346820547f5 (patch) | |
tree | c3bad98d5e100df82486c5c277dd3b3c48221207 /drivers/net/wireless/ath/ath9k/main.c | |
parent | eb8232535bbeaf51f7c4826265ad96bf966829f3 (diff) |
ath9k: Add Tx EDMA support
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 92f6fdc30076..1f4ea74bf4ca 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -429,8 +429,12 @@ void ath9k_tasklet(unsigned long data) | |||
429 | spin_unlock_bh(&sc->rx.rxflushlock); | 429 | spin_unlock_bh(&sc->rx.rxflushlock); |
430 | } | 430 | } |
431 | 431 | ||
432 | if (status & ATH9K_INT_TX) | 432 | if (status & ATH9K_INT_TX) { |
433 | ath_tx_tasklet(sc); | 433 | if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) |
434 | ath_tx_edma_tasklet(sc); | ||
435 | else | ||
436 | ath_tx_tasklet(sc); | ||
437 | } | ||
434 | 438 | ||
435 | if ((status & ATH9K_INT_TSFOOR) && sc->ps_enabled) { | 439 | if ((status & ATH9K_INT_TSFOOR) && sc->ps_enabled) { |
436 | /* | 440 | /* |