diff options
author | sam <sam@FreeBSD.org> | 2009-06-02 21:13:57 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-06-02 21:13:57 +0000 |
commit | fd8abec02af068a6ea941b67d4b4c7fcc11e3a68 (patch) | |
tree | 4a205ab689839492d06439ed38ca6da2a9b2b6cd /sys/dev | |
parent | 9249bc113cd5b77414fab92c6dbccee97970a9b0 (diff) | |
download | FreeBSD-src-fd8abec02af068a6ea941b67d4b4c7fcc11e3a68.zip FreeBSD-src-fd8abec02af068a6ea941b67d4b4c7fcc11e3a68.tar.gz |
count frag tx failures as an ifnet error
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/if_ath.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |