From beec9c3a1ffc0149fa8f76b9d526abc9cdc5efb7 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 22 Jan 2012 20:59:00 +0200 Subject: [PATCH] eapol_test: Show MNC length in debug output Signed-hostap: Jouni Malinen --- wpa_supplicant/eapol_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c index 76f7527c5..bcc3071c5 100644 --- a/wpa_supplicant/eapol_test.c +++ b/wpa_supplicant/eapol_test.c @@ -877,6 +877,9 @@ static int scard_test(void) wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); /* NOTE: Permanent Username: 1 | IMSI */ + wpa_printf(MSG_DEBUG, "SCARD: MNC length %d", + scard_get_mnc_len(scard)); + os_memset(_rand, 0, sizeof(_rand)); if (scard_gsm_auth(scard, _rand, sres, kc)) goto failed;