[Pcsclite-muscle] Apply fix "OpenUSBByName(): the device bus & addr must match" (8b9f6f33) for libusb

Maximilian Stein maximilian.stein
Thu Feb 16 07:34:49 PST 2017


Hi,

I noticed that commits [1] and [2], which fixed initialising a wrong USB
device if the PID/VID are identical, only regards pcscd configured with
libudev. In my opinion this can and should be fixed for pcscd configured
with libusb as well. Please see the attached patch.

Kind regards
Maximilian Stein

[1] 8b9f6f33b16e808a5769dbc4193e5f107a09a693 - OpenUSBByName(): the
device bus & addr must match
[2] e46fa30ead3f1eff72769d70be6adf031fafe606 - OpenUSBByName(): use
device bus and address only when available
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openusbbyname_match_bus_addr_libusb.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170216/c08df2b2/attachment.bin>



More information about the pcsclite-muscle mailing list