Commit 791a8f65ba7169f9bc7246dfb0966f3cba0449e5

Con Kolivas 2013-08-30T21:11:20

Ignore inprocess message when retrieved out of sync in bflsc while processing nonces.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/driver-bflsc.c b/driver-bflsc.c
index bf3acb1..ab4b582 100644
--- a/driver-bflsc.c
+++ b/driver-bflsc.c
@@ -1213,6 +1213,12 @@ static void process_nonces(struct cgpu_info *bflsc, int dev, char *xlink, char *
 	bool res;
 	char *tmp;
 
+	if (!strncasecmp(data,BFLSC_INPROCESS, BFLSC_INPROCESS_LEN)) {
+		applog(LOG_INFO, "%s%i:%s In process message retrieved out of sync, ignoring",
+		       bflsc->drv->name, bflsc->device_id, xlink);
+		return;
+	}
+
 	if (count < sc_info->que_fld_min) {
 		tmp = str_text(data);
 		applog(LOG_INFO, "%s%i:%s work returned too small (%d,%s)",