[RFC] wpa_supplicant: set prev_sched_ssid only if needed

Spinadel, David david.spinadel
Mon Nov 5 01:59:57 PST 2012



         if (wildcard) {
@@ -929,11 +928,12 @@ int wpa_supplicant_req_sched_scan(struct wpa_supplicant *wpa_s)
                                          (wpas_network_disabled(wpa_s, ssid) ||
                                           !ssid->scan_ssid));
                                 break;
+                               if (!ssid)
+                                       wpa_s->prev_sched_ssid = NULL;
                         }
                 }


Well, these two lines should be before the break...

David
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20121105/15aadd0b/attachment-0001.htm 



More information about the Hostap mailing list