aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/main.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-04-29 13:55:44 (GMT)
committerJouni Malinen <j@w1.fi>2013-04-29 13:55:44 (GMT)
commitb57b560034f1bb1ad3a3892228940dde97323c0e (patch)
treef259704e97a97f8461155a2e0d95f8541451ed6d /wpa_supplicant/main.c
parentee28f088a5fdf47d7367abbd83df0fab4dd8149d (diff)
downloadhostap-b57b560034f1bb1ad3a3892228940dde97323c0e.zip
hostap-b57b560034f1bb1ad3a3892228940dde97323c0e.tar.gz
hostap-b57b560034f1bb1ad3a3892228940dde97323c0e.tar.bz2
wpa_supplicant: Default to nl80211 instead of wext
nl80211 has obsoleted WEXT as the preferred kernel interface for controlling wireless drivers. Update wpa_supplicant driver interface list order so that nl80211 gets used first if both nl80211 and wext interfaces are included in the build. In addition, update README to reflect the fact that WEXT is obsolete. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/main.c')
-rw-r--r--wpa_supplicant/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/main.c b/wpa_supplicant/main.c
index 1744620..f45c1b7 100644
--- a/wpa_supplicant/main.c
+++ b/wpa_supplicant/main.c
@@ -84,7 +84,7 @@ static void usage(void)
printf("example:\n"
" wpa_supplicant -D%s -iwlan0 -c/etc/wpa_supplicant.conf\n",
- wpa_drivers[i] ? wpa_drivers[i]->name : "wext");
+ wpa_drivers[0] ? wpa_drivers[0]->name : "nl80211");
#endif /* CONFIG_NO_STDOUT_DEBUG */
}