Browse Source

Actually put the work in the avalon queue.

Con Kolivas 13 years ago
parent
commit
f0806c6828
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.c

+ 1 - 1
driver-avalon.c

@@ -768,7 +768,7 @@ static bool avalon_fill(struct cgpu_info *avalon)
 
 	if (unlikely(!work))
 		return false;
-	avalon->queued++;
+	avalon->works[avalon->queued++] = work;
 	if (avalon->queued == avalon_info[avalon->device_id]->miner_count)
 		return true;
 	return false;