[Pcsclite-cvs-commit] r6675 - trunk/Drivers/ccid/src
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Sun Jul 28 09:30:20 UTC 2013
Author: rousseau
Date: 2013-06-28 09:32:26 +0000 (Fri, 28 Jun 2013)
New Revision: 6675
Modified:
trunk/Drivers/ccid/src/ccid_usb.c
Log:
close_libusb_if_needed(): Reset ctx value to NULL
Make sure libusb_init() will be called for the next reader.
This was not a real problem since pcscd will unload the driver when no
more reader is using it.
Modified: trunk/Drivers/ccid/src/ccid_usb.c
===================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c 2013-06-28 08:56:07 UTC (rev 6674)
+++ trunk/Drivers/ccid/src/ccid_usb.c 2013-06-28 09:32:26 UTC (rev 6675)
@@ -162,6 +162,7 @@
{
DEBUG_INFO("libusb_exit");
libusb_exit(ctx);
+ ctx = NULL;
}
} /* close_libusb_if_needed */
More information about the Pcsclite-cvs-commit
mailing list