aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_supp
diff options
context:
space:
mode:
authorNaresh Jayaram <c_njayar@qti.qualcomm.com>2013-10-23 16:19:25 (GMT)
committerJouni Malinen <j@w1.fi>2013-10-23 17:51:46 (GMT)
commitfa56315cfc9ebaff2b210ed99d43dda9b16bdf56 (patch)
tree946d423555a15164c18b5a922f213b7dc8b05e3a /src/eapol_supp
parent07041c6f991d933d2361c8204433c09212f9fb0b (diff)
downloadhostap-fa56315cfc9ebaff2b210ed99d43dda9b16bdf56.zip
hostap-fa56315cfc9ebaff2b210ed99d43dda9b16bdf56.tar.gz
hostap-fa56315cfc9ebaff2b210ed99d43dda9b16bdf56.tar.bz2
eap_proxy: Add context data pointer to the get_imsi call
This was already included in all the other calls to eap_proxy, but somehow the get_imsi call had been forgotten. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/eapol_supp')
-rw-r--r--src/eapol_supp/eapol_supp_sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c
index d34df7c..9d7aef0 100644
--- a/src/eapol_supp/eapol_supp_sm.c
+++ b/src/eapol_supp/eapol_supp_sm.c
@@ -2058,7 +2058,7 @@ int eapol_sm_get_eap_proxy_imsi(struct eapol_sm *sm, char *imsi, size_t *len)
#ifdef CONFIG_EAP_PROXY
if (sm->eap_proxy == NULL)
return -1;
- return eap_proxy_get_imsi(imsi, len);
+ return eap_proxy_get_imsi(sm->eap_proxy, imsi, len);
#else /* CONFIG_EAP_PROXY */
return -1;
#endif /* CONFIG_EAP_PROXY */