summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/telephony.c5
-rw-r--r--src/network.c11
2 files changed, 15 insertions, 1 deletions
diff --git a/plugins/telephony.c b/plugins/telephony.c
index ea0bf655..88703edf 100644
--- a/plugins/telephony.c
+++ b/plugins/telephony.c
@@ -1202,8 +1202,11 @@ static void __set_network_connected(struct telephony_network *network,
case CONNMAN_IPCONFIG_METHOD_OFF:
case CONNMAN_IPCONFIG_METHOD_MANUAL:
case CONNMAN_IPCONFIG_METHOD_DHCP:
+ break;
case CONNMAN_IPCONFIG_METHOD_AUTO:
- DBG("ipv6 not supported");
+ connman_network_set_ipv6_method(network->network,
+ network->ipv6_method);
+ setip = TRUE;
break;
case CONNMAN_IPCONFIG_METHOD_FIXED:
diff --git a/src/network.c b/src/network.c
index 8c9fdcbb..eba068b2 100644
--- a/src/network.c
+++ b/src/network.c
@@ -614,6 +614,11 @@ static void autoconf_ipv6_set(struct connman_network *network)
network->connecting = false;
+#if defined TIZEN_EXT
+ if(network->type == CONNMAN_NETWORK_TYPE_CELLULAR)
+ return;
+#endif
+
service = connman_service_lookup_from_network(network);
if (!service)
return;
@@ -664,6 +669,12 @@ static void set_connected(struct connman_network *network)
break;
case CONNMAN_IPCONFIG_METHOD_DHCP:
case CONNMAN_IPCONFIG_METHOD_AUTO:
+#if defined TIZEN_EXT
+ if(network->type == CONNMAN_NETWORK_TYPE_CELLULAR)
+ __connman_service_ipconfig_indicate_state(service,
+ CONNMAN_SERVICE_STATE_CONFIGURATION,
+ CONNMAN_IPCONFIG_TYPE_IPV6);
+#endif
autoconf_ipv6_set(network);
break;
case CONNMAN_IPCONFIG_METHOD_FIXED: