Browse Source

bflsc - fix brackets so [Chips] isn't always null

Kano 12 years ago
parent
commit
4aa84abba5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      driver-bflsc.c

+ 2 - 1
driver-bflsc.c

@@ -658,9 +658,10 @@ static bool getinfo(struct cgpu_info *bflsc, int dev)
 				free(tmp);
 				free(tmp);
 				goto mata;
 				goto mata;
 			}
 			}
+		}
 		else if (strstr(firstname, BFLSC_DI_CHIPS))
 		else if (strstr(firstname, BFLSC_DI_CHIPS))
 			sc_dev.chips = strdup(fields[0]);
 			sc_dev.chips = strdup(fields[0]);
-		}
+
 		freebreakdown(&count, &firstname, &fields);
 		freebreakdown(&count, &firstname, &fields);
 	}
 	}