summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-01-15 16:11:26 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-01-16 16:52:58 +0200
commitd479904ecaa2bd92d6ed9d31097a4b0ea35434cd (patch)
tree27b43e4701c00b54eda3ce60f724ad6668d3dee2
parentdcffc2181c068f271401cc7d443d81e5be467238 (diff)
downloadconnman-d479904ecaa2bd92d6ed9d31097a4b0ea35434cd.tar.gz
connman-d479904ecaa2bd92d6ed9d31097a4b0ea35434cd.tar.bz2
connman-d479904ecaa2bd92d6ed9d31097a4b0ea35434cd.zip
ipconfig: Do not disable IPv6 in lower up state
Disabling IPv6 in lower up causes problems in IPv6 connectivity. The interface IPv6 status can stay in disabled state because of races. So this patch reverts the commit 4ce90440a70abce7de537777 and lets service IPv6 state go to READY when we get an auto configured address for the interface. Fixes BMC#25929
-rw-r--r--src/ipconfig.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 7fba53bf..b4008945 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -391,18 +391,6 @@ static void __connman_ipconfig_lower_up(struct connman_ipdevice *ipdevice)
{
DBG("ipconfig ipv4 %p ipv6 %p", ipdevice->config_ipv4,
ipdevice->config_ipv6);
-
- if (ipdevice->config_ipv6 != NULL &&
- ipdevice->config_ipv6->enabled == TRUE)
- return;
-
- if (ipdevice->ifname == NULL)
- return;
-
- if (__connman_device_isfiltered(ipdevice->ifname) == FALSE) {
- ipdevice->ipv6_enabled = get_ipv6_state(ipdevice->ifname);
- set_ipv6_state(ipdevice->ifname, FALSE);
- }
}
static void __connman_ipconfig_lower_down(struct connman_ipdevice *ipdevice)