Commit d73ac707124581dfd91c15d20913dc21bba77ac8

Con Kolivas 2014-02-08T21:04:18

Remove bitfury devices from the usb list on shutdown in case they have stopped responding but have not had a fatal usb error.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-bitfury.c b/driver-bitfury.c
index 9968a61..9ff7cc1 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -1142,6 +1142,7 @@ static void bitfury_shutdown(struct thr_info *thr)
 		default:
 			break;
 	}
+	usb_nodev(bitfury);
 }
 
 /* Currently hardcoded to BF1 devices */