count frag tx failures as an ifnet error

This commit is contained in:
Sam Leffler 2009-06-02 21:13:57 +00:00
parent 09be6601b5
commit 9cb930760c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193351

View File

@ -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;
}