aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-03 18:09:35 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-03 18:09:35 (GMT)
commit41c00105f254344cb352963bc5d11e2322b93886 (patch)
tree5ebdbc78c9610002b39bf5ce97fdd8ec631f249d /src/eap_peer
parent5a8c6d33535fed249b6b67774843b52e619a4f64 (diff)
downloadhostap-06-41c00105f254344cb352963bc5d11e2322b93886.zip
hostap-06-41c00105f254344cb352963bc5d11e2322b93886.tar.gz
hostap-06-41c00105f254344cb352963bc5d11e2322b93886.tar.bz2
Removed registrar pointer from wps_config and wps_data
wps_context::registrar can be used as the only location for this pointer.
Diffstat (limited to 'src/eap_peer')
-rw-r--r--src/eap_peer/eap_wsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_peer/eap_wsc.c b/src/eap_peer/eap_wsc.c
index 42ff463..7d52181 100644
--- a/src/eap_peer/eap_wsc.c
+++ b/src/eap_peer/eap_wsc.c
@@ -160,7 +160,7 @@ static void * eap_wsc_init(struct eap_sm *sm)
os_memset(&cfg, 0, sizeof(cfg));
cfg.wps = wps;
- cfg.registrar = registrar ? data->wps_ctx->registrar : NULL;
+ cfg.registrar = registrar;
phase1 = eap_get_config_phase1(sm);
if (phase1 == NULL) {