aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/pcsc_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/pcsc_funcs.c')
-rw-r--r--src/utils/pcsc_funcs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/pcsc_funcs.c b/src/utils/pcsc_funcs.c
index 5607adc..08510d0 100644
--- a/src/utils/pcsc_funcs.c
+++ b/src/utils/pcsc_funcs.c
@@ -1419,3 +1419,9 @@ int scard_umts_auth(struct scard_data *scard, const unsigned char *_rand,
wpa_printf(MSG_DEBUG, "SCARD: Unrecognized response");
return -1;
}
+
+
+int scard_supports_umts(struct scard_data *scard)
+{
+ return scard->sim_type == SCARD_USIM;
+}