aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/eapol_test.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2013-11-17 10:17:09 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-17 14:47:38 (GMT)
commit22cf7d7324ee5e75d3baf905123a5554edf36e8b (patch)
tree5da91166977683ccb191ce48129027061a0bd6a5 /wpa_supplicant/eapol_test.c
parentcea97a04f9527f026c3c3570f2c071c459513393 (diff)
downloadhostap-22cf7d7324ee5e75d3baf905123a5554edf36e8b.zip
hostap-22cf7d7324ee5e75d3baf905123a5554edf36e8b.tar.gz
hostap-22cf7d7324ee5e75d3baf905123a5554edf36e8b.tar.bz2
SCARD: Clean up SIM/USIM selection
Commit eb324600295a570199a5e25eb64e60781a04fb74 left an unneeded sim_type argument to scard_init(). Remove that unnecessary argument to clean up the implementation. Signed-hostap: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'wpa_supplicant/eapol_test.c')
-rw-r--r--wpa_supplicant/eapol_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c
index 9024f23..2b25b69 100644
--- a/wpa_supplicant/eapol_test.c
+++ b/wpa_supplicant/eapol_test.c
@@ -943,7 +943,7 @@ static int scard_test(void)
unsigned char aka_ik[IK_LEN];
unsigned char aka_ck[CK_LEN];
- scard = scard_init(SCARD_TRY_BOTH, NULL);
+ scard = scard_init(NULL);
if (scard == NULL)
return -1;
if (scard_set_pin(scard, "1234")) {
@@ -1043,7 +1043,7 @@ static int scard_get_triplets(int argc, char *argv[])
wpa_debug_level = 99;
}
- scard = scard_init(SCARD_GSM_SIM_ONLY, NULL);
+ scard = scard_init(NULL);
if (scard == NULL) {
printf("Failed to open smartcard connection\n");
return -1;