summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2011-04-17 20:38:11 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2011-04-17 20:38:11 +0000
commit259da0e340c5be0f928a9d53b462034d49c9f2bf (patch)
tree4bc26764ae5a31655ecc077d286661dd914c7158
parentd3e8c6bb7e9747ba58ff1709bfbc8096c07bccc3 (diff)
Don't increase if_oerrors for every multicast frame leaving the interface.
ok deraadt
-rw-r--r--sys/dev/ic/ath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index 59a53fc9a8b..7e716c45c14 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ath.c,v 1.91 2010/09/07 16:21:42 deraadt Exp $ */
+/* $OpenBSD: ath.c,v 1.92 2011/04/17 20:38:10 stsp Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
@@ -2488,7 +2488,6 @@ ath_tx_proc(void *arg, int npending)
if (bf->bf_id.id_node != NULL)
ieee80211_rssadapt_lower_rate(ic, ni,
&an->an_rssadapt, &bf->bf_id);
- ifp->if_oerrors++;
if (ds->ds_txstat.ts_status & HAL_TXERR_XRETRY)
sc->sc_stats.ast_tx_xretries++;
if (ds->ds_txstat.ts_status & HAL_TXERR_FIFO)