aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-05-28 18:25:46 (GMT)
committerJouni Malinen <j@w1.fi>2005-05-28 18:25:46 (GMT)
commit943c8960ac4c4695ad57a3214fbc862d2c3f32f8 (patch)
treea19c4d222d4a1cb20ab4405177e81cbd4945bed4
parenta89df8cc80c57fb44a6837bc7c625d88fc66d6e4 (diff)
downloadhostap-history-943c8960ac4c4695ad57a3214fbc862d2c3f32f8.zip
hostap-history-943c8960ac4c4695ad57a3214fbc862d2c3f32f8.tar.gz
hostap-history-943c8960ac4c4695ad57a3214fbc862d2c3f32f8.tar.bz2
Fixed EAPOL state machine initialization for RSN preauthentication to
set msg_ctx.
-rw-r--r--wpa_supplicant/wpa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa.c b/wpa_supplicant/wpa.c
index d9c1925..c70f556 100644
--- a/wpa_supplicant/wpa.c
+++ b/wpa_supplicant/wpa.c
@@ -2263,6 +2263,7 @@ int rsn_preauth_init(struct wpa_supplicant *wpa_s, u8 *dst)
}
memset(ctx, 0, sizeof(*ctx));
ctx->ctx = wpa_s;
+ ctx->msg_ctx = wpa_s;
ctx->preauth = 1;
ctx->cb = rsn_preauth_eapol_cb;
ctx->cb_ctx = wpa_s;