summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/usb-linux.c2
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;