summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/wireless.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index c2d2c7964..313eb6447 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- configure wpa_supplicant to try both nl80211 and wext interfaces
+ o some old wireless driver modules may only support wext
- improve help for entering wireless keys/passphrases
o note that ASCII strings can now be used for WEP keys (mga#21042)
diff --git a/mdk-stage1/wireless.c b/mdk-stage1/wireless.c
index 3d948c7e5..2fde04f84 100644
--- a/mdk-stage1/wireless.c
+++ b/mdk-stage1/wireless.c
@@ -147,7 +147,7 @@ enum return_type configure_wireless(const char *ifname)
fprintf(fd, "}\n");
fclose(fd);
- snprintf(cmd, sizeof(cmd), "/usr/sbin/wpa_supplicant -B -i %s -c %s -f %s -P %s",
+ snprintf(cmd, sizeof(cmd), "/usr/sbin/wpa_supplicant -D nl80211,wext -B -i %s -c %s -f %s -P %s",
ifname, WPA_SUPPLICANT_CONF, WPA_SUPPLICANT_LOG, WPA_SUPPLICANT_PID);
log_message("running %s", cmd);
status = system(cmd);