summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-11-30 13:16:28 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-12-01 12:16:47 +0100
commitde4a89520ffebfabdf7814ece05c845cf73c163a (patch)
tree1639eb067ad8111da858413eb2e356433c6f2183 /src/connection.c
parent0b07a2f69f374b5ae16dadfd4c7ed842daca6dd3 (diff)
downloadconnman-de4a89520ffebfabdf7814ece05c845cf73c163a.tar.gz
connman-de4a89520ffebfabdf7814ece05c845cf73c163a.tar.bz2
connman-de4a89520ffebfabdf7814ece05c845cf73c163a.zip
service: Recompute service state when moving it up
It should be possible to move down an online service to ready and the one which goes up might come up online after recomputing its state.
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/connection.c b/src/connection.c
index 477cf842..54f2b740 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -766,8 +766,6 @@ gboolean __connman_connection_update_gateway(void)
unset_default_gateway(active_gateway,
CONNMAN_IPCONFIG_TYPE_IPV6);
- __connman_service_downgrade_state(active_gateway->service);
-
if (default_gateway) {
if (default_gateway->ipv4_gateway)
set_default_gateway(default_gateway,