count frag tx failures as an ifnet error
This commit is contained in:
parent
09be6601b5
commit
9cb930760c
@ -1820,6 +1820,7 @@ ath_start(struct ifnet *ifp)
|
|||||||
DPRINTF(sc, ATH_DEBUG_XMIT,
|
DPRINTF(sc, ATH_DEBUG_XMIT,
|
||||||
"%s: out of txfrag buffers\n", __func__);
|
"%s: out of txfrag buffers\n", __func__);
|
||||||
sc->sc_stats.ast_tx_nofrag++;
|
sc->sc_stats.ast_tx_nofrag++;
|
||||||
|
ifp->if_oerrors++;
|
||||||
ath_freetx(m);
|
ath_freetx(m);
|
||||||
goto bad;
|
goto bad;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user