summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-08-07 00:42:46 +0000
committeradrian <adrian@FreeBSD.org>2012-08-07 00:42:46 +0000
commit98bad868d8621dcb2ba19ef39911f565fa2ffe8a (patch)
tree52702fe4e05dcf42fe12d124a7e6027b7de121fc /sys/dev
parentc74ad1c589623da04012443a3f87986b29444d0d (diff)
downloadFreeBSD-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.c2
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);
}
OpenPOWER on IntegriCloud