1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-29 16:04:33 +00:00

Pipe error is quite common on usb3 so drop logging to verbose level only.

This commit is contained in:
Con Kolivas 2013-06-16 19:08:10 +10:00
parent 383eeabc71
commit 362687f6bc

View File

@ -2190,8 +2190,8 @@ usb_bulk_transfer(struct libusb_device_handle *dev_handle,
transferred, timeout);
cg_runlock(&cgusb_fd_lock);
if (unlikely(err == LIBUSB_ERROR_PIPE)) {
applog(LOG_WARNING, "%s: libusb pipe error, trying to clear",
if (err == LIBUSB_ERROR_PIPE) {
applog(LOG_INFO, "%s: libusb pipe error, trying to clear",
cgpu->drv->name);
do {
err = libusb_clear_halt(dev_handle, endpoint);