Date: Sat, 8 Mar 2014 19:35:31 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262930 - head/sys/dev/ath Message-ID: <201403081935.s28JZVgZ002368@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Sat Mar 8 19:35:31 2014 New Revision: 262930 URL: http://svnweb.freebsd.org/changeset/base/262930 Log: Call ieee80211_dump_pkt() based on IFF_DUMPPKTS(). MFC after: 3 days Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ============================================================================== --- head/sys/dev/ath/if_ath_tx.c Sat Mar 8 14:58:39 2014 (r262929) +++ head/sys/dev/ath/if_ath_tx.c Sat Mar 8 19:35:31 2014 (r262930) @@ -3769,9 +3769,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); } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403081935.s28JZVgZ002368>