summaryrefslogtreecommitdiff
path: root/src/ipconfig.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-03-19 13:50:38 +0100
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-03-20 12:03:27 +0200
commit2a6825108e5f3d057fbe4be5cfe5f7aa3a0d1293 (patch)
tree2ec483626b3bd7baff5a790abb8d03f1c540483e /src/ipconfig.c
parentc811703b87852609bbb1922cc0a3c7f9669c9179 (diff)
downloadconnman-2a6825108e5f3d057fbe4be5cfe5f7aa3a0d1293.tar.gz
connman-2a6825108e5f3d057fbe4be5cfe5f7aa3a0d1293.tar.bz2
connman-2a6825108e5f3d057fbe4be5cfe5f7aa3a0d1293.zip
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.
Diffstat (limited to 'src/ipconfig.c')
-rw-r--r--src/ipconfig.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 79aed71a..65ea2786 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);
}
}