Browse Source

Merge commit 'd95c1f0' into littlefury

Conflicts:
	driver-littlefury.c
Luke Dashjr 12 years ago
parent
commit
aeb4e625b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-littlefury.c

+ 1 - 1
driver-littlefury.c

@@ -359,7 +359,7 @@ bool littlefury_do_io(struct thr_info *thr)
 	struct bitfury_device * const bitfury = proc->device_data;
 	struct bitfury_device * const bitfury = proc->device_data;
 	bitfury->results_n = 0;
 	bitfury->results_n = 0;
 	libbitfury_sendHashData1(proc->proc_id, bitfury, thr->work);
 	libbitfury_sendHashData1(proc->proc_id, bitfury, thr->work);
-	if (bitfury->job_switched)
+	if (bitfury->job_switched && thr->next_work)
 	{
 	{
 		mt_job_transition(thr);
 		mt_job_transition(thr);
 		job_start_complete(thr);
 		job_start_complete(thr);