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
{
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)