[connman]Remove org.freedesktop.hostname1 service from Tizen platform. 38/136438/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 29 Jun 2017 11:43:36 +0000 (17:13 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 29 Jun 2017 11:43:36 +0000 (17:13 +0530)
Change-Id: Ib74170f4c5be93f4ba6df56436dac227352b76ef
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
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();