aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-03-29 20:44:36 +0300
committerJouni Malinen <j@w1.fi>2012-03-29 20:44:36 +0300
commit84949a411cf8e8f7476a043bd0b60ed2e5d4761a (patch)
treec782ccfd38a2dab50a21075eb4b8ee73b140d97b /src/utils
parenta0133ee1c96db7436179d15f64e18e5165c4ab8c (diff)
downloadexternal_wpa_supplicant_8_ti-84949a411cf8e8f7476a043bd0b60ed2e5d4761a.zip
external_wpa_supplicant_8_ti-84949a411cf8e8f7476a043bd0b60ed2e5d4761a.tar.gz
external_wpa_supplicant_8_ti-84949a411cf8e8f7476a043bd0b60ed2e5d4761a.tar.bz2
Fix eapol_test build without CONFIG_PCSC=y
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/pcsc_funcs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/pcsc_funcs.h b/src/utils/pcsc_funcs.h
index 092b147..b4ebc99 100644
--- a/src/utils/pcsc_funcs.h
+++ b/src/utils/pcsc_funcs.h
@@ -34,10 +34,11 @@ int scard_supports_umts(struct scard_data *scard);
#else /* PCSC_FUNCS */
-#define scard_init(s) NULL
+#define scard_init(s, r) NULL
#define scard_deinit(s) do { } while (0)
#define scard_set_pin(s, p) -1
#define scard_get_imsi(s, i, l) -1
+#define scard_get_mnc_len(s) -1
#define scard_gsm_auth(s, r, s2, k) -1
#define scard_umts_auth(s, r, a, r2, rl, i, c, a2) -1
#define scard_get_pin_retry_counter(s) -1