Fix build with CONFIG_WPS_OOB
This commit is contained in:
parent
416192628d
commit
d9c8a7c44c
1 changed files with 2 additions and 1 deletions
|
@ -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 ||
|
if ((wps->oob_conf.oob_method == OOB_METHOD_DEV_PWD_E ||
|
||||||
wps->oob_conf.oob_method == OOB_METHOD_DEV_PWD_R) &&
|
wps->oob_conf.oob_method == OOB_METHOD_DEV_PWD_R) &&
|
||||||
wpas_wps_start_pin(wpa_s, NULL,
|
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 -1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue