diff options
Diffstat (limited to 'scd/ccid-driver.c')
-rw-r--r-- | scd/ccid-driver.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 7319ada41..39e45a0ab 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -1805,7 +1805,10 @@ ccid_open_usb_reader (const char *spec_reader_name, } /* Submit SET_INTERFACE control transfer which can reset the device. */ - rc = libusb_set_interface_alt_setting (idev, ifc_no, set_no); + if ((*handle)->id_vendor == VENDOR_ACR && (*handle)->id_product == ACR_122U) + rc = 0; /* Not supported by this reader. */ + else + rc = libusb_set_interface_alt_setting (idev, ifc_no, set_no); if (rc) { #ifdef USE_NPTH @@ -1820,6 +1823,7 @@ ccid_open_usb_reader (const char *spec_reader_name, npth_protect (); #endif + /* Perform any vendor specific intialization. */ rc = ccid_vendor_specific_init (*handle); leave: |