|
@@ -1015,6 +1015,7 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
|
|
|
if (info->quirk_reopen != 2) {
|
|
if (info->quirk_reopen != 2) {
|
|
|
if (!icarus_reopen(icarus, state, &fd))
|
|
if (!icarus_reopen(icarus, state, &fd))
|
|
|
state->firstrun = true;
|
|
state->firstrun = true;
|
|
|
|
|
+ else
|
|
|
// Some devices (Cairnsmore1, for example) abort hashing when reopened, so send the job again
|
|
// Some devices (Cairnsmore1, for example) abort hashing when reopened, so send the job again
|
|
|
if (!icarus_job_start(thr))
|
|
if (!icarus_job_start(thr))
|
|
|
state->firstrun = true;
|
|
state->firstrun = true;
|