diff options
author | adrian <adrian@FreeBSD.org> | 2013-03-26 04:56:54 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-03-26 04:56:54 +0000 |
commit | 02bcc8d29e3714844b09865d96538eba48d66497 (patch) | |
tree | 2ffef401e26146f2358e8dc872526e45fce14a58 | |
parent | a1670a2eb0fc20409f62f6d5944e2701b602886e (diff) | |
download | FreeBSD-src-02bcc8d29e3714844b09865d96538eba48d66497.zip FreeBSD-src-02bcc8d29e3714844b09865d96538eba48d66497.tar.gz |
Remove the mcast path calls to ath_hal_gettxdesclinkptr() for axq_link -
they're no longer needed for the legacy path and they're not wanted
for the EDMA path.
Tested:
* AR9280, hostap + CABQ
* AR9380/AR9580, hostap + CABQ
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 1 | ||||
-rw-r--r-- | sys/dev/ath/if_ath_tx_edma.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index 7d2a910..1dcf14d 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -720,7 +720,6 @@ ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, bf->bf_daddr); } ATH_TXQ_INSERT_TAIL(txq, bf, bf_list); - ath_hal_gettxdesclinkptr(sc->sc_ah, bf->bf_lastds, &txq->axq_link); ATH_TXQ_UNLOCK(txq); } diff --git a/sys/dev/ath/if_ath_tx_edma.c b/sys/dev/ath/if_ath_tx_edma.c index 701779c..f337df9 100644 --- a/sys/dev/ath/if_ath_tx_edma.c +++ b/sys/dev/ath/if_ath_tx_edma.c @@ -279,9 +279,7 @@ ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_EDMA_TXDESC)) ath_tx_alq_post(sc, bf); #endif /* ATH_DEBUG_ALQ */ - ATH_TXQ_INSERT_TAIL(txq, bf, bf_list); - ath_hal_gettxdesclinkptr(sc->sc_ah, bf->bf_lastds, &txq->axq_link); ATH_TXQ_UNLOCK(txq); } |