aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eapol_test.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-01-22 18:59:00 (GMT)
committerJouni Malinen <j@w1.fi>2012-01-22 18:59:00 (GMT)
commitbeec9c3a1ffc0149fa8f76b9d526abc9cdc5efb7 (patch)
tree195e5c071017629d110c0cbada096c6cc8abf93d /wpa_supplicant/eapol_test.c
parent8ab7a3708910c0f572084e7dabff10d7c8ee3734 (diff)
downloadhostap-beec9c3a1ffc0149fa8f76b9d526abc9cdc5efb7.zip
hostap-beec9c3a1ffc0149fa8f76b9d526abc9cdc5efb7.tar.gz
hostap-beec9c3a1ffc0149fa8f76b9d526abc9cdc5efb7.tar.bz2
eapol_test: Show MNC length in debug output
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/eapol_test.c')
-rw-r--r--wpa_supplicant/eapol_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c
index 76f7527..bcc3071 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;