From 9e10a6c016606d87eedd501704903bab003875cf Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 5 Jul 2012 20:42:19 +1000 Subject: [PATCH] Account for wait_ms time when nonce_range is in use on BFL. --- driver-bitforce.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver-bitforce.c b/driver-bitforce.c index e7c3d886..1ed227fb 100644 --- a/driver-bitforce.c +++ b/driver-bitforce.c @@ -454,6 +454,8 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6 sleep_time = bitforce->sleep_ms; if (!restart_wait(sleep_time)) return 1; + + bitforce->wait_ms += sleep_time; } if (ret)