]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
eapol_test: Show MNC length in debug output
authorJouni Malinen <j@w1.fi>
Sun, 22 Jan 2012 18:59:00 +0000 (20:59 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Jan 2012 18:59:00 +0000 (20:59 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/eapol_test.c

index 76f7527c53df56a384d53f089fc275bb7f0d0d0f..bcc3071c5cf728630bf59e82ff92aea7558841e2 100644 (file)
@@ -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;