[PATCH] Treat '' in SSIDs param of DBus Interface.Scan as a request for braodcast scan.

Blaise Gassend blaise at willowgarage.com
Thu Oct 7 12:15:49 EDT 2010


On Wed, Oct 6, 2010 at 11:06 PM, Dan Williams <dcbw at redhat.com> wrote:
> On Wed, 2010-10-06 at 15:46 -0700, Daniel Kurtz wrote:
>> This patch changes wpa_supplicant policy for handling '' in SSIDs field of Interface.SSID DBus message.
>> It treats '' (zero-length) SSID as a request for a broadcast scan, instead of ignoring it.
>
> Does not sending any SSIDs somehow not work?  This seems like a pretty
> big kludge.  The behavior should be that if no SSID property is sent,
> then no specific scan is performed.  A zero-length SSID should actually
> be rejected with an error.

If I recall, iw's scan command sends an empty SSID when no ssid is
explicitely specified. A while ago iwlagn was not doing the broadcast
scan if the empty ssid wasn't there. However, I believe that was a
bug, and it has been corrected in recent versions of iwlagn.


More information about the HostAP mailing list