[Pcsclite-cvs-commit] CVS Drivers/ccid/src/towitoko
CVS User rousseau
ludovic.rousseau@free.fr
Tue, 19 Oct 2004 01:22:07 -0600
Update of /cvsroot/pcsclite/Drivers/ccid/src/towitoko
In directory haydn:/tmp/cvs-serv9364/towitoko
Modified Files:
pps.c
Log Message:
Add support of character level communication (CCID_CLASS_CHARACTER).
Thanks to Jeffrey Dai
--- /cvsroot/pcsclite/Drivers/ccid/src/towitoko/pps.c 2004/08/04 19:43:03 1.9
+++ /cvsroot/pcsclite/Drivers/ccid/src/towitoko/pps.c 2004/10/19 07:22:07 1.10
@@ -54,7 +54,8 @@
DEBUG_XXD ("PPS: Sending request: ", params, len_request);
/* Send PPS request */
- if (CCID_Transmit (lun, len_request, params, 0) != IFD_SUCCESS)
+ if (CCID_Transmit (lun, len_request, params, isCharLevel(lun) ? 4 : 0, 0)
+ != IFD_SUCCESS)
return PPS_ICC_ERROR;
/* Get PPS confirm */