aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-17 15:54:40 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-17 15:54:40 (GMT)
commit0f057fb2c705010c96175e4c5e658f076fef0701 (patch)
treeda53bd559271af93c200a86fded03155cf991014 /wpa_supplicant/ibss_rsn.c
parentb9a2e577b431a54afc045a4dceb787ed50ab955c (diff)
downloadhostap-0f057fb2c705010c96175e4c5e658f076fef0701.zip
hostap-0f057fb2c705010c96175e4c5e658f076fef0701.tar.gz
hostap-0f057fb2c705010c96175e4c5e658f076fef0701.tar.bz2
Added a separate ctx pointer for wpa_msg() calls in WPA supp
This is needed to allow IBSS RSN to use per-peer context while maintaining support for wpa_msg() calls to get *wpa_s as the pointer.
Diffstat (limited to 'wpa_supplicant/ibss_rsn.c')
-rw-r--r--wpa_supplicant/ibss_rsn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ibss_rsn.c b/wpa_supplicant/ibss_rsn.c
index d605def..080c1f6 100644
--- a/wpa_supplicant/ibss_rsn.c
+++ b/wpa_supplicant/ibss_rsn.c
@@ -144,6 +144,7 @@ int ibss_rsn_supp_init(struct ibss_rsn_peer *peer, const u8 *own_addr,
return -1;
ctx->ctx = peer;
+ ctx->msg_ctx = peer->ibss_rsn->wpa_s;
ctx->set_state = supp_set_state;
ctx->ether_send = supp_ether_send;
ctx->get_beacon_ie = supp_get_beacon_ie;