diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-09 22:39:30 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-09 22:39:30 +0530 |
commit | f651132629aaa9af3f29ee9276bf421ff1aa7660 (patch) | |
tree | ccd7351b32243d5509b50af5b7fa5bab3375f660 /src/network.c | |
parent | fc668cd071839f5788edf26c845a111d6379edcc (diff) | |
download | connman-f651132629aaa9af3f29ee9276bf421ff1aa7660.tar.gz connman-f651132629aaa9af3f29ee9276bf421ff1aa7660.tar.bz2 connman-f651132629aaa9af3f29ee9276bf421ff1aa7660.zip |
[SPIN] network: connman_network_clear_associating rather than IDLE state
Change-Id: Ia8693e891946e29315176afe60fe8df5b78e3ea5
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/network.c')
-rwxr-xr-x | src/network.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/network.c b/src/network.c index ad677467..4b2ae113 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; } |