Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 23:56:56 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 77085 for review
Message-ID:  <200505162356.j4GNuuLX055938@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=77085

Change 77085 by sam@sam_ebb on 2005/05/16 23:56:21

	move debug msg to reduce noise

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_scan.c#3 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_scan.c#3 (text+ko) ====

@@ -435,12 +435,12 @@
 	struct ieee80211com *ic = vap->iv_ic;
 	struct ieee80211_scan_state *ss = &ic->ic_scan;
 
-	IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, "%s: end %s scan\n",
-		__func__,
-		ss->ss_flags & IEEE80211_SCAN_ACTIVE ?  "active" : "passive");
-
 	IEEE80211_LOCK(ic);
 	if (ic->ic_flags & IEEE80211_F_SCAN) {
+		IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
+		    "%s: cancel %s scan\n", __func__,
+		    ss->ss_flags&IEEE80211_SCAN_ACTIVE ?  "active" : "passive");
+
 		callout_drain(&ss->ss_scan_timer);
 		/* XXX maybe this should be handled in the timer routine? */
 		ic->ic_flags &= ~IEEE80211_F_SCAN;



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