mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-06 12:04:20 +00:00
Pipe error is quite common on usb3 so drop logging to verbose level only.
This commit is contained in:
parent
383eeabc71
commit
362687f6bc
@ -2190,8 +2190,8 @@ usb_bulk_transfer(struct libusb_device_handle *dev_handle,
|
|||||||
transferred, timeout);
|
transferred, timeout);
|
||||||
cg_runlock(&cgusb_fd_lock);
|
cg_runlock(&cgusb_fd_lock);
|
||||||
|
|
||||||
if (unlikely(err == LIBUSB_ERROR_PIPE)) {
|
if (err == LIBUSB_ERROR_PIPE) {
|
||||||
applog(LOG_WARNING, "%s: libusb pipe error, trying to clear",
|
applog(LOG_INFO, "%s: libusb pipe error, trying to clear",
|
||||||
cgpu->drv->name);
|
cgpu->drv->name);
|
||||||
do {
|
do {
|
||||||
err = libusb_clear_halt(dev_handle, endpoint);
|
err = libusb_clear_halt(dev_handle, endpoint);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user