summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-02-16 22:06:45 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-02-16 22:06:45 +0000
commit0b1522d28ccee7e33b06d62c4f2d2ea48982c468 (patch)
tree53f8862f7bb3c1f6ebb12f0aac70c1de0ac51f4e /sys
parent279a6fb8c9412e748f3783d2bbb91449841a5971 (diff)
Count output packets.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/bwi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index 19c380acc3a..77737311e16 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.70 2008/02/16 20:09:05 mglocker Exp $ */
+/* $OpenBSD: bwi.c,v 1.71 2008/02/16 22:06:44 mglocker Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -8980,6 +8980,8 @@ bwi_txeof(struct bwi_softc *sc)
continue;
_bwi_txeof(sc, letoh16(tx_id));
+
+ ifp->if_opackets++;
}
if ((ifp->if_flags & IFF_OACTIVE) == 0)