diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 8857a47e..a027b3e8 100644 --- a/src/service.c +++ b/src/service.c @@ -5065,8 +5065,6 @@ static int service_indicate_state(struct connman_service *service) reply_pending(service, 0); - service->userconnect = FALSE; - g_get_current_time(&service->modified); service_save(service); @@ -5714,6 +5712,8 @@ int __connman_service_disconnect(struct connman_service *service) DBG("service %p", service); + service->userconnect = FALSE; + __connman_agent_cancel(service); if (service->network != NULL) { |