Fix wrong variable name in the previous commit.

Pointy hat to:	loos
Reported by:	araujo
This commit is contained in:
loos 2015-06-03 15:18:32 +00:00
parent ba1bb7cdf1
commit 51c23dd838

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)