[Pcsclite-cvs-commit] Drivers/ccid/src ifdhandler.c,1.19,1.20

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


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

Modified Files:
	ifdhandler.c 
Log Message:
T=1 context is initialized in CardUp(), not in IFDHCreateChannel()


Index: ifdhandler.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- ifdhandler.c	6 Apr 2004 06:52:34 -0000	1.19
+++ ifdhandler.c	6 Apr 2004 08:51:34 -0000	1.20
@@ -139,9 +139,6 @@
 	/* Maybe we have a special treatment for this reader */
 	ccid_open_hack(Lun);
 
-	/* initialize T=1 context */
-	Protocol_T1_Close(&((get_ccid_slot(Lun)) -> t1));
-
 #ifdef HAVE_PTHREAD
 	pthread_mutex_unlock(&ifdh_context_mutex);
 #endif
@@ -695,5 +692,5 @@
 	Protocol_T1_Close(&((get_ccid_slot(lun)) -> t1));
 
 	return IFD_SUCCESS;
-} /* CardUp */
+} /* CardDown */