From e9530141aa2b71df1ba886bef66c1e0da15e24c7 Mon Sep 17 00:00:00 2001 From: "hwajeong.son" Date: Mon, 1 Oct 2018 19:52:22 +0900 Subject: [PATCH] Modify handling case for not found ssid 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. --- src/setup_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup_network.c b/src/setup_network.c index e873ebb..6d865d8 100755 --- a/src/setup_network.c +++ b/src/setup_network.c @@ -280,7 +280,7 @@ static void __wifi_scan_finished_cb(wifi_manager_error_e result, void *user_data _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) -- 2.34.1