Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2013 05:10:11 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251099 - head/sys/dev/ath
Message-ID:  <201305290510.r4T5ABTs015392@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed May 29 05:10:11 2013
New Revision: 251099
URL: http://svnweb.freebsd.org/changeset/base/251099

Log:
  Turn the reassociate debug print into a DPRINTF.

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Wed May 29 04:21:42 2013	(r251098)
+++ head/sys/dev/ath/if_ath.c	Wed May 29 05:10:11 2013	(r251099)
@@ -5511,6 +5511,7 @@ ath_newassoc(struct ieee80211_node *ni, 
 	an->an_mgmtrix = ath_tx_findrix(sc, tp->mgmtrate);
 
 	ath_rate_newassoc(sc, an, isnew);
+
 	if (isnew &&
 	    (vap->iv_flags & IEEE80211_F_PRIVACY) == 0 && sc->sc_hasclrkey &&
 	    ni->ni_ucastkey.wk_keyix == IEEE80211_KEYIX_NONE)
@@ -5526,7 +5527,7 @@ ath_newassoc(struct ieee80211_node *ni, 
 	 * marked as non-aggregate.
 	 */
 	if (! isnew) {
-		device_printf(sc->sc_dev,
+		DPRINTF(sc, ATH_DEBUG_NODE,
 		    "%s: %6D: reassoc; is_powersave=%d\n",
 		    __func__,
 		    ni->ni_macaddr,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305290510.r4T5ABTs015392>