MFC r343603:

ipw(4): reuse ieee80211_tx_complete function

This should partially fix 'netstat -b -I wlan0' output
This commit is contained in:
Andriy Voskoboinyk 2019-02-08 13:57:28 +00:00
parent c041e9605c
commit a11b7e786b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=343907

View File

@ -1357,10 +1357,7 @@ ipw_release_sbd(struct ipw_softc *sc, struct ipw_soft_bd *sbd)
bus_dmamap_unload(sc->txbuf_dmat, sbuf->map);
SLIST_INSERT_HEAD(&sc->free_sbuf, sbuf, next);
if (sbuf->m->m_flags & M_TXCB)
ieee80211_process_callback(sbuf->ni, sbuf->m, 0/*XXX*/);
m_freem(sbuf->m);
ieee80211_free_node(sbuf->ni);
ieee80211_tx_complete(sbuf->ni, sbuf->m, 0/*XXX*/);
sc->sc_tx_timer = 0;
break;