]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix eapol_test build without CONFIG_PCSC=y
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 29 Mar 2012 17:44:36 +0000 (20:44 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 29 Mar 2012 17:44:36 +0000 (20:44 +0300)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

src/utils/pcsc_funcs.h

index 092b14770172c18fce2ddff691638377e817f4f4..b4ebc99835b6ebfb2c9faa891fa25fc8b0edff8c 100644 (file)
@@ -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