Browse Source

Merge commit 'd9fd638' into erupter_identify

Luke Dashjr 12 years ago
parent
commit
c99dd9bf85
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-icarus.c

+ 1 - 0
driver-icarus.c

@@ -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;