summaryrefslogtreecommitdiff
path: root/sys/dev/dwc
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <loos@FreeBSD.org>2015-07-06 03:06:13 +0000
committerLuiz Otavio O Souza <loos@FreeBSD.org>2015-07-06 03:06:13 +0000
commita5221d68dce23bed4ae000862cd5cb5165963289 (patch)
tree0ddcde57cc19c3f1a3b9dc965715a6ecc94f285f /sys/dev/dwc
parente9617c305c3ba928e9aa3c399414842c7e31324b (diff)
downloadsrc-test2-a5221d68dce23bed4ae000862cd5cb5165963289.tar.gz
src-test2-a5221d68dce23bed4ae000862cd5cb5165963289.zip
Notes
Diffstat (limited to 'sys/dev/dwc')
-rw-r--r--sys/dev/dwc/if_dwc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index 7ca16ace8e09..b85995ea6fad 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -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. */