diff options
author | adrian <adrian@FreeBSD.org> | 2012-08-07 00:42:46 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-08-07 00:42:46 +0000 |
commit | 98bad868d8621dcb2ba19ef39911f565fa2ffe8a (patch) | |
tree | 52702fe4e05dcf42fe12d124a7e6027b7de121fc /sys/dev | |
parent | c74ad1c589623da04012443a3f87986b29444d0d (diff) | |
download | FreeBSD-src-98bad868d8621dcb2ba19ef39911f565fa2ffe8a.zip FreeBSD-src-98bad868d8621dcb2ba19ef39911f565fa2ffe8a.tar.gz |
Correct re-initialise the link pointer to be the final descriptor in
the last buffer.
This fixes traffic stalls that were occuring with stuck beacon events.
PR: kern/170433
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index 98a190b..8d7910d 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -751,7 +751,7 @@ ath_legacy_tx_dma_restart(struct ath_softc *sc, struct ath_txq *txq) return; ath_hal_puttxbuf(ah, txq->axq_qnum, bf->bf_daddr); - ath_hal_gettxdesclinkptr(ah, bf->bf_lastds, &txq->axq_link); + ath_hal_gettxdesclinkptr(ah, bf_last->bf_lastds, &txq->axq_link); ath_hal_txstart(ah, txq->axq_qnum); } |