From: Daniel Wagner Date: Mon, 19 Mar 2012 12:50:38 +0000 (+0100) Subject: ipconfig: Do not enable IPv6 ipconfigs when loading the properties X-Git-Tag: 0.80~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a6825108e5f3d057fbe4be5cfe5f7aa3a0d1293;p=platform%2Fupstream%2Fconnman.git 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. --- 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); } }