[PATCH] wpa_supplicant: abort scan after removing all networks

Spinadel, David david.spinadel
Mon Oct 29 01:02:27 PDT 2012

> This one is also whitespace damaged..
Sorry for that, It's a side effect from my Windows machine that I'm using for Emails. I'll fix it.
> Could you please explain why this change is needed? wpa_supplicant stops scanning if there are no enabled
> networks.
It's especially needed for scheduled scan, but we can stop the regular scans as well.

> >         if (wpa_config_remove_network(wpa_s->conf, ssid->id) < 0) {
> Is this correct? This is removing just one network and there could be other
> enabled networks that are being scanned.

My mistake, will fix it.

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.

More information about the Hostap mailing list