aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-29 10:19:30 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-29 10:19:30 (GMT)
commit7d7c918d9725b7622e50084459f3f382f50618ac (patch)
treea9c4836f0a24421a9c7f497f4e6203e3b9f2f3a3 /wpa_supplicant
parenteb76b7e3ffea75035836aa2313c3c69b60c2ac34 (diff)
downloadhostap-06-7d7c918d9725b7622e50084459f3f382f50618ac.zip
hostap-06-7d7c918d9725b7622e50084459f3f382f50618ac.tar.gz
hostap-06-7d7c918d9725b7622e50084459f3f382f50618ac.tar.bz2
WPS: Pass device data into wps_enrollee_build_probe_req_ie()
Use configured device data instead of hardcoded values to generate WPS IE for Probe Request.
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index 8002920..fb64ca5 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -176,6 +176,7 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
#ifdef CONFIG_WPS
if (wps) {
wps_ie = wps_enrollee_build_probe_req_ie(wps == 2,
+ &wpa_s->wps->dev,
wpa_s->conf->uuid);
if (wps_ie) {
extra_ie = wpabuf_head(wps_ie);