diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:39:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:47 -0400 |
commit | 4adfcdedd4e0c05c1b659da5f2b8bc4e2d4a86df (patch) | |
tree | 8284739015fbcb27d9f7ff27b5d8853557d7e83b /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | 3deb4da554c3ad9b059f51d19eebadf8525da4a4 (diff) |
ath9k: Setup appropriate tx desc for regular dma and edma
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/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 7dae199361bf..c32da053c6ed 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -2152,7 +2152,7 @@ int ath_tx_init(struct ath_softc *sc, int nbufs) | |||
2152 | spin_lock_init(&sc->tx.txbuflock); | 2152 | spin_lock_init(&sc->tx.txbuflock); |
2153 | 2153 | ||
2154 | error = ath_descdma_setup(sc, &sc->tx.txdma, &sc->tx.txbuf, | 2154 | error = ath_descdma_setup(sc, &sc->tx.txdma, &sc->tx.txbuf, |
2155 | "tx", nbufs, 1); | 2155 | "tx", nbufs, 1, 1); |
2156 | if (error != 0) { | 2156 | if (error != 0) { |
2157 | ath_print(common, ATH_DBG_FATAL, | 2157 | ath_print(common, ATH_DBG_FATAL, |
2158 | "Failed to allocate tx descriptors: %d\n", error); | 2158 | "Failed to allocate tx descriptors: %d\n", error); |
@@ -2160,7 +2160,7 @@ int ath_tx_init(struct ath_softc *sc, int nbufs) | |||
2160 | } | 2160 | } |
2161 | 2161 | ||
2162 | error = ath_descdma_setup(sc, &sc->beacon.bdma, &sc->beacon.bbuf, | 2162 | error = ath_descdma_setup(sc, &sc->beacon.bdma, &sc->beacon.bbuf, |
2163 | "beacon", ATH_BCBUF, 1); | 2163 | "beacon", ATH_BCBUF, 1, 0); |
2164 | if (error != 0) { | 2164 | if (error != 0) { |
2165 | ath_print(common, ATH_DBG_FATAL, | 2165 | ath_print(common, ATH_DBG_FATAL, |
2166 | "Failed to allocate beacon descriptors: %d\n", error); | 2166 | "Failed to allocate beacon descriptors: %d\n", error); |