---
Hi Samuel,

please apply this patch as without it the system will not go offline.
The patch adds DISCONNECT state for IPv6 that should be entered before
IDLE state. Eventually the IPv6 disconnection should be handled in
connection.c as you pointed out in IRC but that probably needs to
wait until Daniel's element removal patches are commited.

Regards,
Jukka


 src/network.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/network.c b/src/network.c
index 5bba620..be2cae5 100644
--- a/src/network.c
+++ b/src/network.c
@@ -880,6 +880,13 @@ static gboolean set_connected(gpointer user_data)
                                        CONNMAN_SERVICE_STATE_IDLE,
                                        CONNMAN_IPCONFIG_TYPE_IPV4);
 
+               /* TODO: eventually the IPv6 disconnect state should be handled
+                * in connection.c
+                */
+               __connman_service_indicate_state(service,
+                                       CONNMAN_SERVICE_STATE_DISCONNECT,
+                                       CONNMAN_IPCONFIG_TYPE_IPV6);
+
                __connman_service_indicate_state(service,
                                        CONNMAN_SERVICE_STATE_IDLE,
                                        CONNMAN_IPCONFIG_TYPE_IPV6);
-- 
1.7.0.4

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to