aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_sim.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-01 21:58:03 (GMT)
committerJouni Malinen <j@w1.fi>2012-09-01 21:58:03 (GMT)
commit9343498989d88d973314656f4ed99301c7a2b4b4 (patch)
tree5aa1b68dad195ccc49168250f507e806f37a3ebf /src/eap_peer/eap_sim.c
parent5d65ca514dfdac74eb6af72ffd30a578b9df4cfa (diff)
downloadhostap-9343498989d88d973314656f4ed99301c7a2b4b4.zip
hostap-9343498989d88d973314656f4ed99301c7a2b4b4.tar.gz
hostap-9343498989d88d973314656f4ed99301c7a2b4b4.tar.bz2
EAP-SIM/AKA peer: Note sending of Client-Error in debug log
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_peer/eap_sim.c')
-rw-r--r--src/eap_peer/eap_sim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eap_peer/eap_sim.c b/src/eap_peer/eap_sim.c
index 30614b9..0159e17 100644
--- a/src/eap_peer/eap_sim.c
+++ b/src/eap_peer/eap_sim.c
@@ -352,6 +352,8 @@ static struct wpabuf * eap_sim_client_error(struct eap_sim_data *data, u8 id,
data->num_id_req = 0;
data->num_notification = 0;
+ wpa_printf(MSG_DEBUG, "EAP-SIM: Send Client-Error (error code %d)",
+ err);
msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, EAP_TYPE_SIM,
EAP_SIM_SUBTYPE_CLIENT_ERROR);
eap_sim_msg_add(msg, EAP_SIM_AT_CLIENT_ERROR_CODE, err, NULL, 0);