Update
authornshero.lee <nshero.lee@samsung.com>
Thu, 21 Dec 2017 01:17:31 +0000 (10:17 +0900)
committernshero.lee <nshero.lee@samsung.com>
Thu, 21 Dec 2017 01:17:31 +0000 (10:17 +0900)
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
src/setup_network.c

index 434ba067c85777e674009a029677b402b9d92d5d..c2c16ef146a8e655535b912fb3e44ead3c26aaaa 100644 (file)
@@ -401,15 +401,6 @@ static int __connect_wifi(sa_wifi_s *info)
                                        _D("First activate Wi-Fi device [%s]", __print_wifi_error(rv));
                                        break;
                                }
-                               rv = wifi_manager_activate(wifi_handle, __activated_callback, NULL);
-                               if (rv == WIFI_MANAGER_ERROR_NONE ||
-                                       rv == CONNECTION_ERROR_NOW_IN_PROGRESS ||
-                                       rv == WIFI_MANAGER_ERROR_ALREADY_EXISTS) {
-                                       ;
-                               } else {
-                                       _D("First activate Wi-Fi device [%s]", __print_wifi_error(rv));
-                                       break;
-                               }
                        } else {
                                _D("Already Activated");
                                __set_setup_network_wifi_state(NETWORK_WIFI_STATE_ACTIVATED);