summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-08-02 17:54:55 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2010-08-02 17:54:55 (GMT)
commita39d6eb4b4817a1e6d9a22bb017032c3b8ab6c85 (patch)
treea8e98fa1c1e66ffb604bb00c23741fe6b0335079
parent11c127dac776955e4b31a4bf50f660169009a58e (diff)
downloadconnman-a39d6eb4b4817a1e6d9a22bb017032c3b8ab6c85.zip
connman-a39d6eb4b4817a1e6d9a22bb017032c3b8ab6c85.tar.gz
connman-a39d6eb4b4817a1e6d9a22bb017032c3b8ab6c85.tar.bz2
Switch VPN service state to IDLE when being disconnected
-rw-r--r--src/provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/provider.c b/src/provider.c
index f0e6338..6c5c12f 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -302,7 +302,7 @@ int connman_provider_set_connected(struct connman_provider *provider,
} else {
connman_element_unregister_children(&provider->element);
__connman_service_indicate_state(provider->vpn_service,
- CONNMAN_SERVICE_STATE_DISCONNECT);
+ CONNMAN_SERVICE_STATE_IDLE);
}
return 0;