aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-01 20:56:02 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-01 20:56:02 (GMT)
commit84f5b41fc1e7a74c343b42075e1708a19d44a63e (patch)
tree8190cd2ae79f479970c81dfafb63c27b3c5f945f /src/eap_peer
parente834272f732739bad2b0168dc0fe6422b045e4e5 (diff)
downloadhostap-06-84f5b41fc1e7a74c343b42075e1708a19d44a63e.zip
hostap-06-84f5b41fc1e7a74c343b42075e1708a19d44a63e.tar.gz
hostap-06-84f5b41fc1e7a74c343b42075e1708a19d44a63e.tar.bz2
WPS: Cleanup UUID and MAC address configuration
No need to configure these separately for each Enrollee in wps_config since wps_context is now used both for Registrar and Enrollee.
Diffstat (limited to 'src/eap_peer')
-rw-r--r--src/eap_peer/eap_wsc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eap_peer/eap_wsc.c b/src/eap_peer/eap_wsc.c
index 5521371..680d747 100644
--- a/src/eap_peer/eap_wsc.c
+++ b/src/eap_peer/eap_wsc.c
@@ -162,7 +162,6 @@ static void * eap_wsc_init(struct eap_sm *sm)
cfg.authenticator = 0;
cfg.wps = wps;
cfg.registrar = registrar ? data->wps_ctx->registrar : NULL;
- cfg.enrollee_mac_addr = registrar ? NULL : wps->dev.mac_addr;
phase1 = eap_get_config_phase1(sm);
if (phase1 == NULL) {
@@ -192,7 +191,6 @@ static void * eap_wsc_init(struct eap_sm *sm)
return NULL;
}
- cfg.uuid = registrar ? NULL : wps->uuid;
data->wps = wps_init(&cfg);
if (data->wps == NULL) {
os_free(data);