summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-18 02:08:29 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-18 02:08:29 +0100
commitf883452f576d8f9e51d2b474f5a5d4d33ab093f9 (patch)
treebca0001427f29bcc5b5986065d65145d7410d5e3 /plugins/wifi.c
parent0f461fae5f251b9598b4b470f52ca9af575c0cc2 (diff)
downloadconnman-f883452f576d8f9e51d2b474f5a5d4d33ab093f9.tar.gz
connman-f883452f576d8f9e51d2b474f5a5d4d33ab093f9.tar.bz2
connman-f883452f576d8f9e51d2b474f5a5d4d33ab093f9.zip
Activate wpa_supplicant if needed
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 23fbb892..e38f2bba 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -653,6 +653,8 @@ static int wifi_init(void)
if (g_dbus_check_service(connection, SUPPLICANT_NAME) == TRUE)
supplicant_connect(connection, NULL);
+ else
+ __supplicant_activate(connection);
return 0;
}