Hi Pasi,
+ case G_SUPPLICANT_STATE_SCANNING:
+ if (wifi->connected) {
+ wifi->connected = false;
+ start_autoscan(device);
+ } else {
+ wifi->connected = false;
+ }
You could remove the else { } (but keep the inner statement)
With a unique wifi device, once connected, it is still possible to do a
scan (and it stays connected of course).
Can you check if your patch does not break this?
Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman