aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/ccid-driver.c5
-rw-r--r--scd/ccid-driver.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 60ac5766b..65c203701 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -963,6 +963,11 @@ parse_ccid_descriptor (ccid_driver_t handle,
handle->max_ifsd = 48;
}
+ if (handle->id_vendor == VENDOR_GEMPC && handle->id_product == GEMPC_CT30)
+ {
+ DEBUGOUT ("enabling product quirk: disable non-null NAD\n");
+ handle->nonnull_nad = 0;
+ }
return 0;
}
diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h
index a2a6e168e..3952cd7e6 100644
--- a/scd/ccid-driver.h
+++ b/scd/ccid-driver.h
@@ -80,6 +80,7 @@ enum {
#define CHERRY_ST2000 0x003e
#define VASCO_920 0x0920
#define GEMPC_PINPAD 0x3478
+#define GEMPC_CT30 0x3437
#define VEGA_ALPHA 0x0008
#endif /*CCID_DRIVER_INCLUDE_USB_IDS*/