]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpas_glue.c
eap_proxy: Add support for SIM state change indication from eap_proxy
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Tue, 13 Dec 2016 13:00:21 +0000 (18:30 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 19 Dec 2016 20:21:07 +0000 (22:21 +0200)
commita6f3761f7d4c4293936386df01fc99d577b71bf9
tree199214139bc70631bbac6c1fc92b1685e85ec96d
parent79a54ab9f65448a9f3f8f149da5379614ad7bdca
eap_proxy: Add support for SIM state change indication from eap_proxy

This registers a new callback to indicate change in SIM state. This
helps to do some clean up (more specifically pmksa_flush) based on the
state change of the SIM. Without this, the reconnection using the cached
PMKSA could happen though the SIM is changed.

Currently eap_proxy_sim_state corresponds to only SIM_STATE_ERROR. This
can be further extended.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/defs.h
src/eap_peer/eap.h
src/eapol_supp/eapol_supp_sm.c
src/eapol_supp/eapol_supp_sm.h
wpa_supplicant/wpas_glue.c