MFC r262930

Call ieee80211_dump_pkt() based on IFF_DUMPPKTS().
This commit is contained in:
Rui Paulo 2014-03-11 05:58:52 +00:00
parent 432d4d1b69
commit 3af06f43c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=262998

View File

@ -3767,9 +3767,10 @@ ath_tx_tid_drain_print(struct ath_softc *sc, struct ath_node *an,
ni->ni_txseqs[tid->tid]);
/* XXX Dump the frame, see what it is? */
ieee80211_dump_pkt(ni->ni_ic,
mtod(bf->bf_m, const uint8_t *),
bf->bf_m->m_len, 0, -1);
if (IFF_DUMPPKTS(sc, ATH_DEBUG_XMIT))
ieee80211_dump_pkt(ni->ni_ic,
mtod(bf->bf_m, const uint8_t *),
bf->bf_m->m_len, 0, -1);
}
/*