diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-02-22 13:47:57 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-02-22 14:43:46 +0200 |
commit | fd7df6fc7ec20c060277cd479616db4fab4972b5 (patch) | |
tree | c855c7708b7a0c6fa968d3240fe636fe4d541634 | |
parent | e69a19c7f9fcd14a551e6cbae95cba3793329965 (diff) | |
download | connman-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.
-rw-r--r-- | src/config.c | 2 |
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) |