From 8fbc4dade6205e101b1bbc0ac4c169b8c886c188 Mon Sep 17 00:00:00 2001 From: Kano Date: Mon, 28 Jan 2013 13:54:23 +1100 Subject: [PATCH] MMQ must copy USB bus:device due to usbinfo change --- driver-modminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver-modminer.c b/driver-modminer.c index 2c850b84..02ad85dc 100644 --- a/driver-modminer.c +++ b/driver-modminer.c @@ -210,6 +210,8 @@ static bool modminer_detect_one(struct libusb_device *dev, struct usb_find_devic tmp->device_path = strdup(devpath); tmp->usbdev = modminer->usbdev; + tmp->usbinfo.bus_number = modminer->usbinfo.bus_number; + tmp->usbinfo.device_address = modminer->usbinfo.device_address; // Only the first copy gets the already used stats if (!added) tmp->usbinfo.usbstat = modminer->usbinfo.usbstat;