[Pcsclite-cvs-commit] Drivers/ccid/src parse.c,1.3,1.4
rousseau@quantz.debian.org
rousseau@quantz.debian.org
Wed, 29 Oct 2003 18:54:06 +0100
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory quantz:/tmp/cvs-serv20896
Modified Files:
parse.c
Log Message:
do not exit if the InterfaceClass is 0xFF (proprietary). It is the case
with old readers manufactured before the final release of the CCID specs.
Index: parse.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/parse.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- parse.c 10 Sep 2003 08:57:29 -0000 1.3
+++ parse.c 29 Oct 2003 17:54:04 -0000 1.4
@@ -126,8 +126,11 @@
printf(" [Chip Card Interface Device Class (CCID)]\n");
else
{
- printf("NOT A CCID DEVICE\n");
- return TRUE;
+ printf(" NOT A CCID DEVICE\n");
+ if (usb_interface->bInterfaceClass != 0xFF)
+ return TRUE;
+ else
+ printf(" Class is 0xFF (proprietary)\n");
}
printf(" bInterfaceSubClass: %d\n", usb_interface->bInterfaceSubClass);