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;
|
||||
|
||||
|
||||
if (registrar) {
|
||||
/* Testing */
|
||||
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);
|
||||
}
|
||||
if (registrar && cfg.pin) {
|
||||
wps_registrar_add_pin(data->wps_ctx->registrar, NULL,
|
||||
cfg.pin, cfg.pin_len);
|
||||
}
|
||||
|
||||
return data;
|
||||
|
|
Loading…
Reference in a new issue