From 50d1d367fb249580e27aafdc3ec800e8dae901e8 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 7 Oct 2013 20:07:34 +1100 Subject: [PATCH] Check for either async or sync libusb error message for timeout. --- usbutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usbutils.c b/usbutils.c index e6e2c988..ddfc079d 100644 --- a/usbutils.c +++ b/usbutils.c @@ -2125,6 +2125,7 @@ static void stats(struct cgpu_info *cgpu, struct timeval *tv_start, struct timev case LIBUSB_SUCCESS: item = CMD_CMD; break; + case LIBUSB_TRANSFER_TIMED_OUT: case LIBUSB_ERROR_TIMEOUT: item = CMD_TIMEOUT; break;