aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_supp
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-28 18:44:47 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-28 18:44:47 (GMT)
commit398cfbf6be43a926f72e07099fa15b8e08fb1271 (patch)
tree7e8fa845b5ffa07af28a29c32bb9ed2a1fe3d58e /src/eapol_supp
parent116654ce24fea104bd0eeb66499948df4d4df3ce (diff)
downloadhostap-398cfbf6be43a926f72e07099fa15b8e08fb1271.zip
hostap-398cfbf6be43a926f72e07099fa15b8e08fb1271.tar.gz
hostap-398cfbf6be43a926f72e07099fa15b8e08fb1271.tar.bz2
WPS: Moved mac_addr and uuid configuration into wps_context
There is no need to complicate EAPOL and EAP interfaces with WPS specific parameters now that wps_context is passed through.
Diffstat (limited to 'src/eapol_supp')
-rw-r--r--src/eapol_supp/eapol_supp_sm.c2
-rw-r--r--src/eapol_supp/eapol_supp_sm.h13
2 files changed, 0 insertions, 15 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c
index 4d62071..f382ee6 100644
--- a/src/eapol_supp/eapol_supp_sm.c
+++ b/src/eapol_supp/eapol_supp_sm.c
@@ -1804,8 +1804,6 @@ struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx)
conf.pkcs11_engine_path = ctx->pkcs11_engine_path;
conf.pkcs11_module_path = ctx->pkcs11_module_path;
#endif /* EAP_TLS_OPENSSL */
- conf.mac_addr = ctx->mac_addr;
- conf.uuid = ctx->uuid;
conf.wps = ctx->wps;
sm->eap = eap_peer_sm_init(sm, &eapol_cb, sm->ctx->msg_ctx, &conf);
diff --git a/src/eapol_supp/eapol_supp_sm.h b/src/eapol_supp/eapol_supp_sm.h
index 38975fc..57d7bc1 100644
--- a/src/eapol_supp/eapol_supp_sm.h
+++ b/src/eapol_supp/eapol_supp_sm.h
@@ -199,19 +199,6 @@ struct eapol_ctx {
*/
const char *pkcs11_module_path;
#endif /* EAP_TLS_OPENSSL */
- /**
- * mac_addr - MAC address of the peer
- *
- * This is only used by EAP-WSC and can be left %NULL if not available.
- */
- const u8 *mac_addr;
-
- /**
- * uuid - Device UUID
- *
- * This is only used by EAP-WSC and can be left %NULL if not available.
- */
- const u8 *uuid;
/**
* wps - WPS context data