diff options
Diffstat (limited to 'daemon/usb-linux.c')
-rw-r--r-- | daemon/usb-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/usb-linux.c b/daemon/usb-linux.c index 4a5711d..687e965 100644 --- a/daemon/usb-linux.c +++ b/daemon/usb-linux.c @@ -270,7 +270,7 @@ int usb_discover(void) } if(devdesc.idVendor != VID_APPLE) continue; - if((devdesc.idProduct < PID_RANGE_LOW) && + if((devdesc.idProduct < PID_RANGE_LOW) || (devdesc.idProduct > PID_RANGE_MAX)) continue; libusb_device_handle *handle; |