summaryrefslogtreecommitdiff
path: root/plugins/supplicant.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/supplicant.c')
-rw-r--r--plugins/supplicant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c
index 43d667aa..70af60a5 100644
--- a/plugins/supplicant.c
+++ b/plugins/supplicant.c
@@ -33,6 +33,7 @@
#define CONNMAN_API_SUBJECT_TO_CHANGE
#include <connman/device.h>
+#include <connman/option.h>
#include <connman/dbus.h>
#include <connman/log.h>
@@ -260,7 +261,7 @@ done:
static int add_interface(struct supplicant_task *task)
{
- const char *driver = "wext";
+ const char *driver = connman_option_get_string("wifi");
DBusMessage *message;
DBusMessageIter array, dict;
DBusPendingCall *call;