summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-09 17:09:30 (GMT)
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-09 17:09:30 (GMT)
commitf651132629aaa9af3f29ee9276bf421ff1aa7660 (patch)
treeccd7351b32243d5509b50af5b7fa5bab3375f660
parentfc668cd071839f5788edf26c845a111d6379edcc (diff)
downloadconnman-f651132629aaa9af3f29ee9276bf421ff1aa7660.zip
connman-f651132629aaa9af3f29ee9276bf421ff1aa7660.tar.gz
connman-f651132629aaa9af3f29ee9276bf421ff1aa7660.tar.bz2
[SPIN] network: connman_network_clear_associating rather than IDLE staterefs/changes/01/73801/1
Change-Id: Ia8693e891946e29315176afe60fe8df5b78e3ea5 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rwxr-xr-xsrc/network.c11
1 files changed, 2 insertions, 9 deletions
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;
}