Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 19:49:32 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136850 for review
Message-ID:  <200803041949.m24JnWkQ039349@repoman.freebsd.org>

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

Change 136850 by sam@sam_ebb on 2008/03/04 19:48:58

	wpa_supplicant core code specifies a broadcast ssid when no
	directed probe request is desired so suppress the default
	bcast probe request frame generated by net80211; this fixes
	the problem where we were sending multiple bcast probe req's

Affected files ...

.. //depot/projects/vap/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c#4 edit

Differences ...

==== //depot/projects/vap/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c#4 (text+ko) ====

@@ -465,6 +465,11 @@
 	sr.sr_flags = IEEE80211_IOC_SCAN_ACTIVE
 		    | IEEE80211_IOC_SCAN_ONCE
 		    | IEEE80211_IOC_SCAN_NOPICK
+		    /*
+		     * NB: caller specifies bcast ssid, so suppress
+		     *     net80211's normal handling
+		     */
+		    | IEEE80211_IOC_SCAN_NOBCAST
 		    ;
 	sr.sr_duration = IEEE80211_IOC_SCAN_FOREVER;
 	sr.sr_nssid = 1;



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