If ssid is not able to find, setup-adaptor has to be retried to re connect next booting.
In order to provide the scenario __Wifl_scan_finished_ca() would be waited forever.
And systemd kills the service.
_E("Fail to connect (can't get AP list) [%s]", __print_wifi_error(rv));
_D("Connection step finished");
- __wifi_exit_loop(wifi_data);
+ // If ssid is not able to find, setup-adaptor service will be completed by systemd
}
static void __wifi_state_changed_cb(wifi_manager_device_state_e state, void *user_data)