PERFORCE change 77085 for review

Sam Leffler sam at FreeBSD.org
Mon May 16 16:56:59 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=77085

Change 77085 by sam at 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;


More information about the p4-projects mailing list