From owner-svn-src-head@freebsd.org Fri Nov 27 22:33:41 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9CD8A3AC6F; Fri, 27 Nov 2015 22:33:41 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80F621D60; Fri, 27 Nov 2015 22:33:41 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tARMXewe094446; Fri, 27 Nov 2015 22:33:40 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tARMXehm094445; Fri, 27 Nov 2015 22:33:40 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201511272233.tARMXehm094445@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Fri, 27 Nov 2015 22:33:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291411 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2015 22:33:41 -0000 Author: adrian Date: Fri Nov 27 22:33:40 2015 New Revision: 291411 URL: https://svnweb.freebsd.org/changeset/base/291411 Log: [ath] conditionally print out the rate series information if ATH_DEBUG_XMIT is set. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c ============================================================================== --- head/sys/dev/ath/if_ath_tx_ht.c Fri Nov 27 22:11:46 2015 (r291410) +++ head/sys/dev/ath/if_ath_tx_ht.c Fri Nov 27 22:33:40 2015 (r291411) @@ -585,7 +585,7 @@ ath_rateseries_setup(struct ath_softc *s } } -#if 0 +#if 1 static void ath_rateseries_print(struct ath_softc *sc, HAL_11N_RATE_SERIES *series) { @@ -627,8 +627,9 @@ ath_buf_set_rate(struct ath_softc *sc, s ath_rateseries_setup(sc, ni, bf, series); -#if 0 - ath_rateseries_print(sc, series); +#if 1 + if (sc->sc_debug & ATH_DEBUG_XMIT) + ath_rateseries_print(sc, series); #endif /* Set rate scenario */