From 791a8f65ba7169f9bc7246dfb0966f3cba0449e5 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 30 Aug 2013 21:11:20 +1000 Subject: [PATCH] Ignore inprocess message when retrieved out of sync in bflsc while processing nonces. --- driver-bflsc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/driver-bflsc.c b/driver-bflsc.c index bf3acb1c..ab4b5822 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)",