From 58cf5caf6640c874dbc3fd919f8a421f292fea4a Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 5 Jan 2022 10:36:03 +0900 Subject: [PATCH] Enable ipv6 again after removing autoconfigured address Until now, ipv6 has been disabled to remove autoconfigured addresses quickly when wifi disconnecting. However, as a result, the ipv6 link local address of wlan0 was erased, which later affected the operation of using wlan0 like softap. This patch restores ipv6 for consistency. Change-Id: I7cf2790d39f62579b59083d6abb136763202b2bd --- src/ipconfig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 8c21db5..7d4be73 100755 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -1773,8 +1773,10 @@ int __connman_ipconfig_disable(struct connman_ipconfig *ipconfig) #if defined TIZEN_EXT if (ipdevice->config_ipv6->method == - CONNMAN_IPCONFIG_METHOD_AUTO) + CONNMAN_IPCONFIG_METHOD_AUTO) { disable_ipv6(ipdevice->config_ipv6); + enable_ipv6(ipdevice->config_ipv6); + } #endif connman_ipaddress_clear(ipdevice->config_ipv6->system); __connman_ipconfig_unref(ipdevice->config_ipv6); -- 2.7.4