[Pcsclite-cvs-commit] r5683 - /trunk/PCSC/src/hotplug_libudev.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Mar 31 19:01:59 UTC 2011
Author: rousseau
Date: Thu Mar 31 19:01:51 2011
New Revision: 5683
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5683
Log:
HPAddDevice(): avoids a crash if a specific driver fails to work and no
class driver is available
Fix Debian bug #620232: pcscd fails to work with REINER SCT cyberJack
Modified:
trunk/PCSC/src/hotplug_libudev.c
Modified: trunk/PCSC/src/hotplug_libudev.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/hotplug_libudev.c?rev=5683&op=diff
==============================================================================
--- trunk/PCSC/src/hotplug_libudev.c (original)
+++ trunk/PCSC/src/hotplug_libudev.c Thu Mar 31 19:01:51 2011
@@ -376,7 +376,7 @@
Log2(PCSC_LOG_ERROR, "Failed adding USB device: %s",
driver->readerName);
- if (driver != classdriver)
+ if (classdriver && driver != classdriver)
{
/* the reader can also be used by the a class driver */
ret = RFAddReader(fullname, PCSCLITE_HP_BASE_PORT + i,
More information about the Pcsclite-cvs-commit
mailing list