Removed duplicated authenticator yes/no from wps_config and wps_data
wps_context::ap is available for this purpose and there is no need to change between AP and not AP between protocol runs.
This commit is contained in:
parent
ae2633af63
commit
5a8c6d3353
7 changed files with 8 additions and 23 deletions
|
@ -89,7 +89,6 @@ static void * eap_wsc_init(struct eap_sm *sm)
|
|||
data->registrar = registrar;
|
||||
|
||||
os_memset(&cfg, 0, sizeof(cfg));
|
||||
cfg.authenticator = 1;
|
||||
cfg.wps = sm->wps;
|
||||
if (registrar) {
|
||||
if (sm->wps == NULL || sm->wps->registrar == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue