Fix the sent packets statistics for if_dwc.
This commit is contained in:
parent
e9617c305c
commit
a5221d68dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285192
@ -759,6 +759,7 @@ dwc_txfinish_locked(struct dwc_softc *sc)
|
||||
dwc_setup_txdesc(sc, sc->tx_idx_tail, 0, 0);
|
||||
sc->tx_idx_tail = next_txidx(sc, sc->tx_idx_tail);
|
||||
ifp->if_drv_flags &= ~IFF_DRV_OACTIVE;
|
||||
if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1);
|
||||
}
|
||||
|
||||
/* If there are no buffers outstanding, muzzle the watchdog. */
|
||||
|
Loading…
Reference in New Issue
Block a user