svn commit: r262998 - stable/10/sys/dev/ath
Rui Paulo
rpaulo at FreeBSD.org
Tue Mar 11 05:58:53 UTC 2014
Author: rpaulo
Date: Tue Mar 11 05:58:52 2014
New Revision: 262998
URL: http://svnweb.freebsd.org/changeset/base/262998
Log:
MFC r262930
Call ieee80211_dump_pkt() based on IFF_DUMPPKTS().
Modified:
stable/10/sys/dev/ath/if_ath_tx.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/ath/if_ath_tx.c
==============================================================================
--- stable/10/sys/dev/ath/if_ath_tx.c Tue Mar 11 04:25:12 2014 (r262997)
+++ stable/10/sys/dev/ath/if_ath_tx.c Tue Mar 11 05:58:52 2014 (r262998)
@@ -3767,9 +3767,10 @@ ath_tx_tid_drain_print(struct ath_softc
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);
}
/*
More information about the svn-src-stable-10
mailing list