Date: Thu, 31 Jan 2019 10:44:01 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343603 - head/sys/dev/ipw Message-ID: <201901311044.x0VAi1Pg005698@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Thu Jan 31 10:44:00 2019 New Revision: 343603 URL: https://svnweb.freebsd.org/changeset/base/343603 Log: ipw(4): reuse ieee80211_tx_complete function This should partially fix 'netstat -b -I wlan0' output MFC after: 1 week Modified: head/sys/dev/ipw/if_ipw.c Modified: head/sys/dev/ipw/if_ipw.c ============================================================================== --- head/sys/dev/ipw/if_ipw.c Thu Jan 31 07:08:37 2019 (r343602) +++ head/sys/dev/ipw/if_ipw.c Thu Jan 31 10:44:00 2019 (r343603) @@ -1326,10 +1326,7 @@ ipw_release_sbd(struct ipw_softc *sc, struct ipw_soft_ 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901311044.x0VAi1Pg005698>