Browse Source

bflsc try getinfo twice

nfactor-troky
Kano 12 years ago
parent
commit
e993cf3644
  1. 11
      driver-bflsc.c

11
driver-bflsc.c

@ -959,9 +959,18 @@ reinit: @@ -959,9 +959,18 @@ reinit:
goto unshin;
}
if (!getinfo(bflsc, 0))
int tries = 0;
while (7734) {
if (getinfo(bflsc, 0))
break;
// N.B. we will get displayed errors each time it fails
if (++tries > 2)
goto unshin;
nmsleep(40);
}
switch (sc_info->driver_version) {
case BFLSC_DRV1:
sc_info->que_size = BFLSC_QUE_SIZE_V1;

Loading…
Cancel
Save