Commit 2ae4840c72df2638cf416fb7e5fc98cf81b20ffe

Kano 2013-04-28T23:11:41

usbutils missing add_in_use

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/usbutils.c b/usbutils.c
index 3703862..bfe90ac 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -960,6 +960,7 @@ static bool cgminer_usb_lock_bd(struct device_drv *drv, uint8_t bus_number, uint
 					goto fail;
 				}
 			}
+			add_in_use(bus_number, device_address);
 			return true;
 		case WAIT_TIMEOUT:
 			if (!hotplug_mode)