connection: Update service list order
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 5 Apr 2012 09:00:51 +0000 (12:00 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 11:18:23 +0000 (14:18 +0300)
This is done as we might have changed the order of the services
so force update of the service list.

src/connection.c

index daaea42..a679619 100644 (file)
@@ -933,6 +933,8 @@ gboolean __connman_connection_update_gateway(void)
 
        default_gateway = find_default_gateway();
 
+       __connman_service_update_ordering();
+
        DBG("default %p", default_gateway);
 
        /*