Browse Source

Disable bitfury device thread on it disappearing.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
87ddfcc8a6
  1. 6
      driver-bitfury.c

6
driver-bitfury.c

@ -283,6 +283,12 @@ cascade:
info->nonces--; info->nonces--;
return (int64_t)0xffffffff; return (int64_t)0xffffffff;
} }
if (unlikely(bitfury->usbinfo.nodev)) {
applog(LOG_WARNING, "%s %d: Device disappeared, disabling thread",
bitfury->drv->name, bitfury->device_id);
return -1;
}
return 0; return 0;
} }

Loading…
Cancel
Save