[Pcsclite-cvs-commit] r4325 - /trunk/Drivers/ccid/src/ccid.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Jul 20 10:04:00 UTC 2009
Author: rousseau
Date: Mon Jul 20 10:03:59 2009
New Revision: 4325
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4325
Log:
the disable card movements notification "hack" for GemProx DU is no more needed
Modified:
trunk/Drivers/ccid/src/ccid.c
Modified: trunk/Drivers/ccid/src/ccid.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.c?rev=4325&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.c (original)
+++ trunk/Drivers/ccid/src/ccid.c Mon Jul 20 10:03:59 2009
@@ -343,29 +343,6 @@
}
break;
#endif
-
-#ifndef USE_USB_INTERRUPT
- /* only if we do not use USB interrupts */
- case GEMALTOPROXDU:
- case GEMALTOPROXSU:
- {
- /* disable card movements notification
- * with RDR_to_PC_NotifySlotChange */
- unsigned char cmd[] = { 0x42, 0x00 /* disable */};
- unsigned char res[10];
- unsigned int length_res = sizeof(res);
-
- if (CmdEscape(reader_index, cmd, sizeof(cmd), res, &length_res) == IFD_SUCCESS)
- {
- DEBUG_COMM("NotifySlotChange disabled");
- }
- else
- {
- DEBUG_CRITICAL("NotifySlotChange disabling failed");
- }
- }
- break;
-#endif
}
return 0;
More information about the Pcsclite-cvs-commit
mailing list