aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-10-06 13:40:20 (GMT)
committerJouni Malinen <j@w1.fi>2010-10-06 13:40:20 (GMT)
commitd9c8a7c44cb19944e2559714f9804202c0ec20f7 (patch)
tree41ced2688f32751f0b20b2e047ea240793c2561f /wpa_supplicant/wps_supplicant.c
parent416192628d2b266fee8c9ce3f566b097c7225b4c (diff)
downloadhostap-d9c8a7c44cb19944e2559714f9804202c0ec20f7.zip
hostap-d9c8a7c44cb19944e2559714f9804202c0ec20f7.tar.gz
hostap-d9c8a7c44cb19944e2559714f9804202c0ec20f7.tar.bz2
Fix build with CONFIG_WPS_OOB
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 015158b..0033665 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -826,7 +826,8 @@ int wpas_wps_start_oob(struct wpa_supplicant *wpa_s, char *device_type,
if ((wps->oob_conf.oob_method == OOB_METHOD_DEV_PWD_E ||
wps->oob_conf.oob_method == OOB_METHOD_DEV_PWD_R) &&
wpas_wps_start_pin(wpa_s, NULL,
- wpabuf_head(wps->oob_conf.dev_password), 0) < 0)
+ wpabuf_head(wps->oob_conf.dev_password), 0,
+ DEV_PW_DEFAULT) < 0)
return -1;
return 0;