svn commit: r251099 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Wed May 29 05:10:11 UTC 2013


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,


More information about the svn-src-all mailing list