]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-SIM/AKA peer: Note sending of Client-Error in debug log
authorJouni Malinen <j@w1.fi>
Sat, 1 Sep 2012 21:58:03 +0000 (00:58 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 1 Sep 2012 21:58:03 +0000 (00:58 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/eap_peer/eap_aka.c
src/eap_peer/eap_sim.c

index 1cec4d8abe944fa1a89f0c9dc32ac0ce3dce7f80..108027cf73d450f855b5ded91efc3d12c2e9d4ec 100644 (file)
@@ -425,6 +425,8 @@ static struct wpabuf * eap_aka_client_error(struct eap_aka_data *data, u8 id,
        data->num_id_req = 0;
        data->num_notification = 0;
 
+       wpa_printf(MSG_DEBUG, "EAP-AKA: Send Client-Error (error code %d)",
+                  err);
        msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method,
                               EAP_AKA_SUBTYPE_CLIENT_ERROR);
        eap_sim_msg_add(msg, EAP_SIM_AT_CLIENT_ERROR_CODE, err, NULL, 0);
index 30614b90170fe40f39e5f56a0cf02ead2ad06fb0..0159e17470d22b9de595a88adf403bad36027073 100644 (file)
@@ -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);