From: Niraj Kumar Goit Date: Thu, 9 Jun 2016 17:09:30 +0000 (+0530) Subject: [SPIN] network: connman_network_clear_associating rather than IDLE state X-Git-Tag: accepted/tizen/common/20160614.144019~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f651132629aaa9af3f29ee9276bf421ff1aa7660;p=platform%2Fupstream%2Fconnman.git [SPIN] network: connman_network_clear_associating rather than IDLE state Change-Id: Ia8693e891946e29315176afe60fe8df5b78e3ea5 Signed-off-by: Niraj Kumar Goit --- diff --git a/src/network.c b/src/network.c index ad67746..4b2ae11 100755 --- a/src/network.c +++ b/src/network.c @@ -1311,15 +1311,8 @@ static gboolean __connman_network_clear_associating_delayed(gpointer user_data) if (network->associating == FALSE && state_ipv4 == CONNMAN_SERVICE_STATE_ASSOCIATION && - state_ipv6 == CONNMAN_SERVICE_STATE_ASSOCIATION) { - __connman_service_ipconfig_indicate_state(service, - CONNMAN_SERVICE_STATE_IDLE, - CONNMAN_IPCONFIG_TYPE_IPV4); - - __connman_service_ipconfig_indicate_state(service, - CONNMAN_SERVICE_STATE_IDLE, - CONNMAN_IPCONFIG_TYPE_IPV6); - } + state_ipv6 == CONNMAN_SERVICE_STATE_ASSOCIATION) + connman_network_clear_associating(network); return FALSE; }