From 2a6825108e5f3d057fbe4be5cfe5f7aa3a0d1293 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 19 Mar 2012 13:50:38 +0100 Subject: [PATCH] ipconfig: Do not enable IPv6 ipconfigs when loading the properties When enabling IPv6 when loading the Service properties, the Service state machine gets out of sync when AutoConnect is disabled. At this point we should only load the properties and let the Service state machine decide when to enable the ipconfigs. And the good news is that the core handles this already. --- src/ipconfig.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 79aed71..65ea278 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -2196,9 +2196,6 @@ int __connman_ipconfig_load(struct connman_ipconfig *ipconfig, ipconfig->ipv6_privacy_config = string2privacy(privacy); g_free(pprefix); g_free(privacy); - - __connman_ipconfig_enable(ipconfig); - enable_ipv6(ipconfig); } } -- 2.7.4