[Pcsclite-cvs-commit] CVS Drivers/ccid/src
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 04 May 2005 06:16:50 +0000
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv24601
Modified Files:
ifdhandler.c
Log Message:
IFDHICCPresence(): add support of SCR331-DI NTTCom
Thanks to Takuto Matsuu fro the patch
--- /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c 2005/05/02 13:28:30 1.72
+++ /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c 2005/05/04 06:16:49 1.73
@@ -17,7 +17,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: ifdhandler.c,v 1.72 2005/05/02 13:28:30 rousseau Exp $ */
+/* $Id: ifdhandler.c,v 1.73 2005/05/04 06:16:49 rousseau Exp $ */
#include <stdio.h>
#include <string.h>
@@ -979,7 +979,8 @@
}
/* SCR331-DI contactless reader */
- if ((SCR331DI == ccid_descriptor->readerID)
+ if (((SCR331DI == ccid_descriptor->readerID)
+ || (SCR331DINTTCOM == ccid_descriptor->readerID))
&& (ccid_descriptor->bCurrentSlotIndex > 0))
{
unsigned char cmd[] = { 0x11 };