Merge branch 'master' of github.com:ckolivas/cgminer into redfury
diff --git a/usbutils.c b/usbutils.c
index 8dd23e2..a79e556 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -2294,6 +2294,8 @@ usb_bulk_transfer(struct libusb_device_handle *dev_handle,
if (endpoint == LIBUSB_ENDPOINT_OUT)
memcpy(buf, data, length);
+ USBDEBUG("USB debug: @usb_bulk_transfer(%s (nodev=%s),endpoint=%d,data=%p,length=%d,timeout=%u,mode=%d,cmd=%s,seq=%d)", cgpu->drv->name, bool_str(cgpu->usbinfo.nodev), (int)endpoint, data, length, timeout, mode, usb_cmdname(cmd), seq);
+
STATS_TIMEVAL(&tv_start);
cg_rlock(&cgusb_fd_lock);
err = libusb_bulk_transfer(dev_handle, endpoint, data, length,