diff --git a/usb.c b/usb.c index 93448a2..2c24ecb 100644 --- a/usb.c +++ b/usb.c @@ -245,7 +245,7 @@ static int usb_read(struct qdl_device *qdl, void *buf, size_t len, unsigned int return -ETIMEDOUT; /* If what we read equals the endpoint's Max Packet Size, consume the ZLP explicitly */ - if ((len == actual) && !(actual % qdl_usb->in_maxpktsize)) { + if (len == actual && !(actual % qdl_usb->in_maxpktsize)) { ret = libusb_bulk_transfer(qdl_usb->usb_handle, qdl_usb->in_ep, NULL, 0, NULL, timeout); if (ret)