Hi Jukka,
>> + case G_SUPPLICANT_STATE_SCANNING: + if (wifi->connected) { +
>> wifi->connected = false; + start_autoscan(device); +
>> } else +
>> wifi->connected = false; + break;
>
> or you could just say
>
> + if (wifi->connected) + start_autoscan(device);
> + +
> wifi->connected = false; + break;
Not really, because that was the original problem why I did the
version 2 of the patch. This is due wifi->connected needs to be false
before start_autoscan() can actually happen as there is "if
(wifi->connected) return;" check on the start_autoscan().
Br,
Pasi
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman