From: Patrik Flykt <[email protected]>

Update code and documentation.
---
 doc/manager-api.txt |    6 ++----
 src/service.c       |    5 -----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index ca193aa..ea17a20 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -226,9 +226,7 @@ Properties  string State [readonly]
 
                boolean SessionMode [readwrite]  [experminental]
 
-                       This disables the auto connect feature. It should be
-                       enabled when the Session API is used. When SessionMode
-                       is enabled, 'ConnectService' and 'ConnectProvider'
-                       method calls are disallowed.
+                       When SessionMode is enabled, 'ConnectService' and
+                       'ConnectProvider' method calls are disallowed.
 
                        The default value is false.
diff --git a/src/service.c b/src/service.c
index 326e4a2..1b309d7 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3583,11 +3583,6 @@ void __connman_service_auto_connect(void)
 {
        DBG("");
 
-       if (__connman_session_mode() == TRUE) {
-               DBG("Session mode enabled: auto connect disabled");
-               return;
-       }
-
        if (autoconnect_timeout != 0)
                return;
 
-- 
1.7.10.4

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to