summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index fb4a61f..7cf4904 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5562,6 +5562,21 @@ void __connman_service_update_search_domains(struct connman_service *service,
service->domains = g_strdupv(domains);
}
+#if defined TIZEN_EXT
+void __connman_service_set_autoconnect(struct connman_service *service,
+ bool autoconnect)
+{
+ if (service == NULL)
+ return;
+
+ if (service->autoconnect != autoconnect) {
+ DBG("updated autoconnect flag (%d)", autoconnect);
+ service->autoconnect = autoconnect;
+ service_save(service);
+ }
+}
+#endif
+
static void service_complete(struct connman_service *service)
{
reply_pending(service, EIO);