Date: Tue, 7 Aug 2012 00:42:46 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r239120 - head/sys/dev/ath Message-ID: <201208070042.q770gkIf001495@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Tue Aug 7 00:42:46 2012 New Revision: 239120 URL: http://svn.freebsd.org/changeset/base/239120 Log: 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 Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ============================================================================== --- head/sys/dev/ath/if_ath_tx.c Tue Aug 7 00:34:15 2012 (r239119) +++ head/sys/dev/ath/if_ath_tx.c Tue Aug 7 00:42:46 2012 (r239120) @@ -751,7 +751,7 @@ ath_legacy_tx_dma_restart(struct ath_sof 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208070042.q770gkIf001495>