[Pcsclite-cvs-commit] r2370 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Wed Jan 31 14:09:41 CET 2007


Author: rousseau
Date: 2007-01-31 14:09:40 +0100 (Wed, 31 Jan 2007)
New Revision: 2370

Modified:
   trunk/PCSC/src/hotplug_libusb.c
Log:
HPEstablishUSBNotifications(): do not overwrite the value specified with
--force-reader-polling=val


Modified: trunk/PCSC/src/hotplug_libusb.c
===================================================================
--- trunk/PCSC/src/hotplug_libusb.c	2007-01-31 09:19:30 UTC (rev 2369)
+++ trunk/PCSC/src/hotplug_libusb.c	2007-01-31 13:09:40 UTC (rev 2370)
@@ -392,7 +392,8 @@
 				Log2(PCSC_LOG_INFO,
 					"Driver %s does not support IFD_GENERATE_HOTPLUG",
 					driverTracker[i].bundleName);
-				HPForceReaderPolling = 1;
+				if (HPForceReaderPolling < 1)
+					HPForceReaderPolling = 1;
 				break;
 			}
 




More information about the Pcsclite-cvs-commit mailing list