aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-15 23:18:11 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-15 23:18:11 (GMT)
commitda3c6a5e2b262c5233a830761c3936724274d1f9 (patch)
tree80e3ac6701096941a445eed3bba8957e67e2bd20 /wpa_supplicant/ibss_rsn.c
parentd0fc6e1211bd3b543aaa5759b076421aef04f212 (diff)
downloadhostap-da3c6a5e2b262c5233a830761c3936724274d1f9.zip
hostap-da3c6a5e2b262c5233a830761c3936724274d1f9.tar.gz
hostap-da3c6a5e2b262c5233a830761c3936724274d1f9.tar.bz2
Fixed auth_send_eapol() to use correct ctx structure
Diffstat (limited to 'wpa_supplicant/ibss_rsn.c')
-rw-r--r--wpa_supplicant/ibss_rsn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/ibss_rsn.c b/wpa_supplicant/ibss_rsn.c
index f9b069d..e459081 100644
--- a/wpa_supplicant/ibss_rsn.c
+++ b/wpa_supplicant/ibss_rsn.c
@@ -184,8 +184,8 @@ static const u8 * auth_get_psk(void *ctx, const u8 *addr, const u8 *prev_psk)
static int auth_send_eapol(void *ctx, const u8 *addr, const u8 *data,
size_t data_len, int encrypt)
{
- struct ibss_rsn_peer *peer = ctx;
- struct wpa_supplicant *wpa_s = peer->ibss_rsn->wpa_s;
+ struct ibss_rsn *ibss_rsn = ctx;
+ struct wpa_supplicant *wpa_s = ibss_rsn->wpa_s;
wpa_printf(MSG_DEBUG, "AUTH: %s(addr=" MACSTR " data_len=%lu "
"encrypt=%d)",