kopia lustrzana https://gitlab.com/sane-project/backends
Fix another bug in the libusb1 part of functioin check_libusb_device()
that prevents sanner detection for certain devices.merge-requests/1/head
rodzic
65773982fe
commit
69a2ec6801
|
@ -1046,7 +1046,7 @@ check_libusb_device (libusb_device *dev, SANE_Bool from_file)
|
|||
break;
|
||||
case USB_CLASS_PER_INTERFACE:
|
||||
if ((config0->interface[intf].num_altsetting == 0)
|
||||
|| config0->interface[intf].altsetting)
|
||||
|| !config0->interface[intf].altsetting)
|
||||
break;
|
||||
switch (config0->interface[intf].altsetting[0].bInterfaceClass)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue