From: Daniel Wagner <[email protected]>
This fixes a small regression with the AutoConnect changes on ethernet.
If the user has used ConnMan in the past and updates to the recent version
the settings files wont contain the AutoConnect key value pair. Then
we do not enable the auto connect.
---
src/service.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/service.c b/src/service.c
index 8f97c09..ed64133 100644
--- a/src/service.c
+++ b/src/service.c
@@ -407,6 +407,8 @@ static int service_load(struct connman_service *service)
service->identifier, "AutoConnect", &error);
if (error == NULL)
service->autoconnect = autoconnect;
+ else
+ service->autoconnect = TRUE;
g_clear_error(&error);
break;
}
--
1.7.10.130.g36e6c
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman