Hi Jason,
Nack on this patch. It is out of question to bring different methods on
technology API to do a scan.
From: Jason Abele <[email protected]>
If the wifi interface is connected and a scan is requested via dbus, only
the channels from connectable services will be scanned. This leaves few
options to fill out a UI with a fresh list of available services when
already connected.
If so, then this is a bug in plugins/wifi.c and that should be fixed.
Look closer to wifi_scan():
line 1843: if the current wifi is connected you could skip this. So it
would not look for known networks,
when wifi is already connected.
The logic behind is: if not connected and if there are known networks,
it will first do an active scan on those,
and then autoscan will do a passive scan. But since your recent patch:
if connected, autoscan won't start.
I did not check thoroughly but I think it's the right place to fix this
is line 1842:
instead of: } else { try a: } else if (!wifi->connected) {
That should do the trick I believe.
Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman