Merge "[connman]Remove org.freedesktop.hostname1 service from Tizen platform." into...
authortaesub kim <taesub.kim@samsung.com>
Mon, 3 Jul 2017 05:21:41 +0000 (05:21 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 3 Jul 2017 05:21:41 +0000 (05:21 +0000)
src/main.c

index 28e3edb..21ed25f 100755 (executable)
@@ -765,8 +765,8 @@ int main(int argc, char *argv[])
        __connman_wispr_init();
 #if !defined TIZEN_EXT
        __connman_rfkill_init();
-#endif
        __connman_machine_init();
+#endif
 
        g_free(option_config);
        g_free(option_device);
@@ -778,8 +778,8 @@ int main(int argc, char *argv[])
 
        g_source_remove(signal);
 
-       __connman_machine_cleanup();
 #if !defined TIZEN_EXT
+       __connman_machine_cleanup();
        __connman_rfkill_cleanup();
 #endif
        __connman_wispr_cleanup();