[PATCH 01/11] wpa_s: add scheduled scan driver operations

Luciano Coelho coelho at ti.com
Sun Oct 16 02:52:58 EDT 2011


On Sat, 2011-10-15 at 19:05 +0300, Jouni Malinen wrote: 
> On Tue, Sep 27, 2011 at 10:21:29PM +0300, Luciano Coelho wrote:
> > In new kernel versions (>=3.0), NL80211 adds scheduled scan
> > capability.  In order to use this feature to its full extent, we need
> > to support it in the wpa_supplicant core, so that it can also be used
> > by other drivers.
> > 
> > This commit adds initial scheduled scan support operations and events.
> 
> > diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
> > @@ -350,8 +396,6 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
> >  			ssid = wpa_s->conf->ssid;
> >  		while (ssid) {
> >  			if (!ssid->disabled && ssid->scan_ssid) {
> > -				wpa_hexdump_ascii(MSG_DEBUG, "Scan SSID",
> > -						  ssid->ssid, ssid->ssid_len);
> >  				params.ssids[params.num_ssids].ssid =
> >  					ssid->ssid;
> >  				params.ssids[params.num_ssids].ssid_len =
> 
> Was this here on purpose? It did not seem to be relevant to other
> changes in this patch and I dropped it since I do want to see those
> SSIDs being shown in the debug log.

Oops, you're right, this came in by mistake.  I had very similar logs
spread around everywhere in the code while implementing this, so I
probably removed too much when cleaning stuff up. 


-- 
Cheers,
Luca.



More information about the HostAP mailing list