[Pcsclite-cvs-commit] r2175 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Tue Sep 26 15:30:14 CEST 2006


Author: rousseau
Date: 2006-09-26 13:29:57 +0000 (Tue, 26 Sep 2006)
New Revision: 2175

Modified:
   trunk/Drivers/ccid/src/ifdhandler.c
Log:
IFDHPowerICC(): log the action performed (PowerUp, PowerDown, Reset)


Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c	2006-09-22 14:51:24 UTC (rev 2174)
+++ trunk/Drivers/ccid/src/ifdhandler.c	2006-09-26 13:29:57 UTC (rev 2175)
@@ -818,8 +818,9 @@
 	RESPONSECODE return_value = IFD_SUCCESS;
 	unsigned char pcbuffer[RESP_BUF_SIZE];
 	int reader_index;
+	char *actions[] = { "PowerUp", "PowerDown", "Reset" };
 
-	DEBUG_INFO2("lun: %X", Lun);
+	DEBUG_INFO3("lun: %X, action: %s", Lun, actions[Action-IFD_POWER_UP]);
 
 	/* By default, assume it won't work :) */
 	*AtrLength = 0;




More information about the Pcsclite-cvs-commit mailing list