Temporarily revert inprocess parsing in bflsc pending fixes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
diff --git a/driver-bflsc.c b/driver-bflsc.c
index e2e8c55..bf3acb1 100644
--- a/driver-bflsc.c
+++ b/driver-bflsc.c
@@ -106,17 +106,12 @@ static bool tolines(struct cgpu_info *bflsc, int dev, char *buf, int *lines, cha
return ok;
}
+ ok = true;
while (tok) {
- if (strncasecmp(tok, BFLSC_INPROCESS, BFLSC_INPROCESS_LEN)) {
- ok = true;
- p_items = realloc(p_items, ++p_lines * sizeof(*p_items));
- if (unlikely(!p_items))
- quit(1, "Failed to realloc p_items in tolines");
- p_items[p_lines-1] = strdup(tok);
- } else {
- applog(LOG_WARNING, "%s%i: in process response (%s) ignored",
- bflsc->drv->name, bflsc->device_id, tok);
- }
+ p_items = realloc(p_items, ++p_lines * sizeof(*p_items));
+ if (unlikely(!p_items))
+ quit(1, "Failed to realloc p_items in tolines");
+ p_items[p_lines-1] = strdup(tok);
tok = strtok(NULL, "\n");
}
diff --git a/driver-bflsc.h b/driver-bflsc.h
index f74e47b..7107c0e 100644
--- a/driver-bflsc.h
+++ b/driver-bflsc.h
@@ -165,7 +165,7 @@ struct QueueJobStructure {
uint8_t endOfBlock;
};
-#define QUE_RES_LINES_MIN 2
+#define QUE_RES_LINES_MIN 3
#define QUE_MIDSTATE 0
#define QUE_BLOCKDATA 1