Commit 6321995c514aea1f0d347fe2c956696d383f7003

Con Kolivas 2014-02-26T22:46:20

Issue a usb_nodev on a bad work sequence tail in hfa

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 01472bb..033ed97 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -901,6 +901,7 @@ static void hfa_parse_gwq_status(struct cgpu_info *hashfast, struct hashfast_inf
 			applog(LOG_ERR, "%s %d: Bad work sequence tail",
 			       hashfast->drv->name, hashfast->device_id);
 			hashfast->shutdown = true;
+			usb_nodev(hashfast);
 			break;
 		}
 		applog(LOG_DEBUG, "%s %d: Completing work on hash_sequence_tail %d",