From: hwajeong.son Date: Mon, 1 Oct 2018 10:52:22 +0000 (+0900) Subject: Modify handling case for not found ssid X-Git-Tag: submit/tizen/20181002.025635~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9530141aa2b71df1ba886bef66c1e0da15e24c7;p=platform%2Fcore%2Fsystem%2Fsetup-adaptor.git 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. --- 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)