Use wildcard UUID when setting AP PIN for Registrar in wpa_supplicant
This commit is contained in:
parent
44cd430f87
commit
d6e0ce9ac8
1 changed files with 3 additions and 11 deletions
|
@ -200,17 +200,9 @@ static void * eap_wsc_init(struct eap_sm *sm)
|
||||||
}
|
}
|
||||||
data->fragment_size = WSC_FRAGMENT_SIZE;
|
data->fragment_size = WSC_FRAGMENT_SIZE;
|
||||||
|
|
||||||
|
if (registrar && cfg.pin) {
|
||||||
if (registrar) {
|
wps_registrar_add_pin(data->wps_ctx->registrar, NULL,
|
||||||
/* Testing */
|
cfg.pin, cfg.pin_len);
|
||||||
wpa_printf(MSG_INFO, "EAP-WSC: Registrar functionality not "
|
|
||||||
"yet fully supported - using test values");
|
|
||||||
u8 uuid_e[UUID_LEN];
|
|
||||||
os_memset(uuid_e, 0, UUID_LEN);
|
|
||||||
if (cfg.pin) {
|
|
||||||
wps_registrar_add_pin(data->wps_ctx->registrar, uuid_e,
|
|
||||||
cfg.pin, cfg.pin_len);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
|
|
Loading…
Reference in a new issue