summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2016-06-12 19:21:15 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-06-12 19:21:15 -0700
commit4ff7fd4d140e6b154d178f9ab83d019786617b53 (patch)
tree0491b1b6a07ea63013f6fcbcf5eb533aa87257ba /src/main.c
parent74b79a30bb7d74d9b7d3ff0e8dd122f64e847e5f (diff)
parent28801fe078345fde58f934bbfee79b5fb6f0d9bb (diff)
downloadconnman-4ff7fd4d140e6b154d178f9ab83d019786617b53.tar.gz
connman-4ff7fd4d140e6b154d178f9ab83d019786617b53.tar.bz2
connman-4ff7fd4d140e6b154d178f9ab83d019786617b53.zip
Merge "[SPIN] Enable the ntp by connman if device does not use the cellular." into tizen
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c594adb2..5bd7e16b 100755
--- a/src/main.c
+++ b/src/main.c
@@ -721,7 +721,9 @@ int main(int argc, char *argv[])
__connman_proxy_init();
__connman_detect_init();
__connman_session_init();
+#if !defined TIZEN_EXT || defined TIZEN_CONNMAN_NTP
__connman_timeserver_init();
+#endif
__connman_connection_init();
__connman_plugin_init(option_plugin, option_noplugin);
@@ -753,7 +755,9 @@ int main(int argc, char *argv[])
__connman_plugin_cleanup();
__connman_provider_cleanup();
__connman_connection_cleanup();
+#if !defined TIZEN_EXT || defined TIZEN_CONNMAN_NTP
__connman_timeserver_cleanup();
+#endif
__connman_detect_cleanup();
__connman_proxy_cleanup();
__connman_task_cleanup();