1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Remove zero packet flag on usb as it's unsupported outside linux and unnecessary.

This commit is contained in:
Con Kolivas 2013-10-02 06:53:25 +10:00
parent 382433eb73
commit c5d61b4cb3

View File

@ -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;
}