mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Fix build with CONFIG_WPS_OOB
This commit is contained in:
parent
416192628d
commit
d9c8a7c44c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user