[Pcsclite-cvs-commit] Drivers/ccid/src ccid_serial.c,1.29,1.30 ccid_usb.c,1.37,1.38
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv15199
Modified Files:
ccid_serial.c ccid_usb.c
Log Message:
use pbSeq instead of bSeq
Index: ccid_serial.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/ccid_serial.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- ccid_serial.c 6 Aug 2004 10:19:48 -0000 1.29
+++ ccid_serial.c 6 Aug 2004 11:00:25 -0000 1.30
@@ -552,7 +552,8 @@
return STATUS_UNSUCCESSFUL;
}
- serialDevice[reader].ccid.bSeq = 0;
+ serialDevice[reader].ccid.real_bSeq = 0;
+ serialDevice[reader].ccid.pbSeq = &serialDevice[reader].ccid.real_bSeq;
serialDevice[reader].ccid.readerID = GEMPCTWIN;
serialDevice[reader].ccid.dwMaxCCIDMessageLength = 271;
serialDevice[reader].ccid.dwMaxIFSD = 254;
Index: ccid_usb.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/ccid_usb.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- ccid_usb.c 4 Aug 2004 21:30:14 -0000 1.37
+++ ccid_usb.c 6 Aug 2004 11:00:25 -0000 1.38
@@ -340,7 +340,8 @@
usbDevice[reader_index].dev = dev;
/* CCID common informations */
- usbDevice[reader_index].ccid.bSeq = 0;
+ usbDevice[reader_index].ccid.real_bSeq = 0;
+ usbDevice[reader_index].ccid.pbSeq = &usbDevice[reader_index].ccid.real_bSeq;
usbDevice[reader_index].ccid.readerID =
(dev->descriptor.idVendor << 16) +
dev->descriptor.idProduct;