summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-22 13:47:57 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-22 14:43:46 +0200
commitfd7df6fc7ec20c060277cd479616db4fab4972b5 (patch)
treec855c7708b7a0c6fa968d3240fe636fe4d541634 /src/config.c
parente69a19c7f9fcd14a551e6cbae95cba3793329965 (diff)
downloadconnman-fd7df6fc7ec20c060277cd479616db4fab4972b5.tar.gz
connman-fd7df6fc7ec20c060277cd479616db4fab4972b5.tar.bz2
connman-fd7df6fc7ec20c060277cd479616db4fab4972b5.zip
config: Run service autoconnect after provisioning the wifi service
We trigger autoconnect request in service after the wifi service has been provisioned. This is useful in headless systems where there is no user to trigger the connect to provisioned service, and it might take some time before system autoconnect is run.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 19f17a2f..7e6b8a2b 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1197,6 +1197,8 @@ static void provision_service(gpointer key, gpointer value,
__connman_service_mark_dirty();
__connman_service_save(service);
+
+ __connman_service_auto_connect();
}
int __connman_config_provision_service(struct connman_service *service)