diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-02-16 21:56:44 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-02-16 21:56:44 +0000 |
commit | 3360e8c6be7db67d41e44cabff6a0fe5420ec05c (patch) | |
tree | 4d0e62b62c0ae861b27c91c43c4c9fca6d5bd7e0 | |
parent | 1bd1fa678b3b533f747e3f1f7cae562e777d64f4 (diff) |
Remove if_ipackets++ since ieee80211_input() already does that.
-rw-r--r-- | sys/dev/usb/if_upgt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c index 776bae584fd..3ae7fe44d3e 100644 --- a/sys/dev/usb/if_upgt.c +++ b/sys/dev/usb/if_upgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upgt.c,v 1.33 2008/02/02 13:48:44 mglocker Exp $ */ +/* $OpenBSD: if_upgt.c,v 1.34 2008/02/16 21:56:43 mglocker Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -1819,9 +1819,6 @@ upgt_rx(struct upgt_softc *sc, uint8_t *data, int pkglen) /* node is no longer needed */ ieee80211_release_node(ic, ni); - /* increment success incoming packet counter */ - ifp->if_ipackets++; - splx(s); DPRINTF(3, "%s: RX done\n", sc->sc_dev.dv_xname); |