mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 06:54:36 +00:00
usbutils - usb_bulk_transfer fix the buf/data fix
This commit is contained in:
parent
ffea432f73
commit
61c2ac5714
@ -2288,7 +2288,7 @@ usb_bulk_transfer(struct libusb_device_handle *dev_handle, int intinfo,
|
||||
|
||||
STATS_TIMEVAL(&tv_start);
|
||||
cg_rlock(&cgusb_fd_lock);
|
||||
err = libusb_bulk_transfer(dev_handle, endpoint, data,
|
||||
err = libusb_bulk_transfer(dev_handle, endpoint, buf,
|
||||
length, transferred, timeout);
|
||||
errn = errno;
|
||||
cg_runlock(&cgusb_fd_lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user