[Pcsclite-cvs-commit] Drivers/ccid/src ifdhandler.c,1.40,1.41

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv4656

Modified Files:
	ifdhandler.c 
Log Message:
BUG: I forgot to initialise the t1.lun field. It failed to work with
more than one readers and a T=1 card in a TPDU reader.


Index: ifdhandler.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- ifdhandler.c	16 Jul 2004 07:06:14 -0000	1.40
+++ ifdhandler.c	19 Jul 2004 13:32:26 -0000	1.41
@@ -705,7 +705,7 @@
 				pcbuffer, *AtrLength);
 
 			/* initialise T=1 context */
-			t1_init(&(get_ccid_slot(Lun) -> t1));
+			t1_init(&(get_ccid_slot(Lun) -> t1), Lun);
 			break;
 
 		default: