summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-05-29 05:10:11 +0000
committeradrian <adrian@FreeBSD.org>2013-05-29 05:10:11 +0000
commitf2a8e681b117e308514bafe50caa72fd4e973fa2 (patch)
tree66c66c4dc21ac1be786bd6b387a66d46ad0cbf6e /sys/dev/ath/if_ath.c
parent394b1022744611e33c0f0d4d7cb8b55272799451 (diff)
downloadFreeBSD-src-f2a8e681b117e308514bafe50caa72fd4e973fa2.zip
FreeBSD-src-f2a8e681b117e308514bafe50caa72fd4e973fa2.tar.gz
Turn the reassociate debug print into a DPRINTF.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 004bacf..ec96063 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -5511,6 +5511,7 @@ ath_newassoc(struct ieee80211_node *ni, int isnew)
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, int isnew)
* 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,
OpenPOWER on IntegriCloud