Hi Tomasz,

>> -    } else if (wifi->connected) { +    } else if
>> (wifi->connected || connman_setting_get_bool("PassiveWiFiScan"))
>> { g_supplicant_free_scan_params(scan_params); return
>> wifi_scan_simple(device);
> 
> If you use PassiveWiFiScan only here, then you are still using
> active scan for auto-connection - so still leaking SSIDs - when not
> connected.

Yes, for hidden networks but not for anything else.

> Is this a wanted behavior? Because then PassiveWiFiScan is
> semantically wrong as it does not really completely avoid active
> scan.

Well, I would say yes because the hidden networks are just
fundamentally broken. I can rename PassiveWifiScan into something else.

Br,
Pasi
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to