Commit 6e3ad7ad250b5d63be2472d9dc56325d143d7ace

Con Kolivas 2012-02-09T22:40:33

Logic fail on queue request.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index f3871ee..5f51096 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2913,7 +2913,7 @@ static bool queue_request(struct thr_info *thr, bool needed)
 	gettimeofday(&now, NULL);
 
 	if (rq >= mining_threads + staged_clones &&
-	    (now.tv_sec - requested_tv_sec) > opt_scantime * 2 / 3)
+	    (now.tv_sec - requested_tv_sec) < opt_scantime * 2 / 3)
 		return true;
 
 	/* fill out work request message */