From a798e14a123e0c16b25b85842034dcaec9f5856a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 2 Oct 2013 06:53:25 +1000 Subject: [PATCH] Remove zero packet flag on usb as it's unsupported outside linux and unnecessary. --- usbutils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usbutils.c b/usbutils.c index dd2f6f49..b0ce1fc2 100644 --- a/usbutils.c +++ b/usbutils.c @@ -2212,7 +2212,6 @@ static void init_usb_transfer(struct usb_transfer *ut) ut->transfer = libusb_alloc_transfer(0); if (unlikely(!ut->transfer)) quit(1, "Failed to libusb_alloc_transfer"); - ut->transfer->flags = LIBUSB_TRANSFER_ADD_ZERO_PACKET; ut->transfer->user_data = ut; }