[Pcsclite-cvs-commit] r4195 - /trunk/Drivers/ccid/src/ccid.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Sun May 10 16:15:39 UTC 2009
Author: rousseau
Date: Sun May 10 16:15:39 2009
New Revision: 4195
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4195
Log:
ccid_open_hack_pre(): call InterruptRead() for all CCID device
Makes the Broadcom 5880 work a bit better (but the reader is still
bogus)
---This line, and those below, will be ignored--
M src/ccid.c
Modified:
trunk/Drivers/ccid/src/ccid.c
Modified: trunk/Drivers/ccid/src/ccid.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.c?rev=4195&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.c (original)
+++ trunk/Drivers/ccid/src/ccid.c Sun May 10 16:15:39 2009
@@ -61,14 +61,14 @@
(void)sleep(1);
ccid_descriptor->readTimeout = 60; /* 60 seconds */
break;
-
- case SEG:
- case GEMALTOPROXDU:
- case GEMALTOPROXSU:
+ }
+
+ /* CCID */
+ if (0 == ccid_descriptor->bInterfaceProtocol)
+ {
#ifndef TWIN_SERIAL
- (void)InterruptRead(reader_index);
+ (void)InterruptRead(reader_index);
#endif
- break;
}
/* ICCD type A */
More information about the Pcsclite-cvs-commit
mailing list