Fix wrong variable name in the previous commit.

Pointy hat to:	loos
Reported by:	araujo
This commit is contained in:
Luiz Otavio O Souza 2015-06-03 15:18:32 +00:00
parent 9500101c2f
commit ecb3497f56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283949

View File

@ -745,7 +745,7 @@ dwc_txfinish_locked(struct dwc_softc *sc)
DWC_ASSERT_LOCKED(sc);
fp = sc->ifp;
ifp = sc->ifp;
while (sc->tx_idx_tail != sc->tx_idx_head) {
desc = &sc->txdesc_ring[sc->tx_idx_tail];
if ((desc->tdes0 & DDESC_TDES0_OWN) != 0)