From fd8abec02af068a6ea941b67d4b4c7fcc11e3a68 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 2 Jun 2009 21:13:57 +0000 Subject: count frag tx failures as an ifnet error --- sys/dev/ath/if_ath.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ath') diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index ec20ad2..e378770 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1820,6 +1820,7 @@ ath_start(struct ifnet *ifp) DPRINTF(sc, ATH_DEBUG_XMIT, "%s: out of txfrag buffers\n", __func__); sc->sc_stats.ast_tx_nofrag++; + ifp->if_oerrors++; ath_freetx(m); goto bad; } -- cgit v1.1