Browse Source

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

Con Kolivas 12 years ago
parent
commit
791a8f65ba
1 changed files with 6 additions and 0 deletions
  1. 6 0
      driver-bflsc.c

+ 6 - 0
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)",