[Pcsclite-cvs-commit] r2208 - trunk/Drivers/ccid/src
Ludovic Rousseau
rousseau at alioth.debian.org
Wed Nov 15 15:35:21 CET 2006
Author: rousseau
Date: 2006-11-15 15:35:21 +0100 (Wed, 15 Nov 2006)
New Revision: 2208
Modified:
trunk/Drivers/ccid/src/ifdhandler.c
Log:
IFDHICCPresence(): return the error code returned by CmdGetSlotStatus()
instead of using IFD_COMMUNICATION_ERROR
Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c 2006-11-15 14:33:41 UTC (rev 2207)
+++ trunk/Drivers/ccid/src/ifdhandler.c 2006-11-15 14:35:21 UTC (rev 2208)
@@ -1103,7 +1103,7 @@
LogLevel = oldLogLevel;
if (return_value != IFD_SUCCESS)
- return IFD_COMMUNICATION_ERROR;
+ return return_value;
return_value = IFD_COMMUNICATION_ERROR;
switch (pcbuffer[7] & CCID_ICC_STATUS_MASK) /* bStatus */
More information about the Pcsclite-cvs-commit
mailing list