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:
Jouni Malinen 2009-01-03 19:57:22 +02:00
parent ae2633af63
commit 5a8c6d3353
7 changed files with 8 additions and 23 deletions

View file

@ -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) {