Set nonce to maximum once we determine nonce range support is broken.
diff --git a/driver-bitforce.c b/driver-bitforce.c
index 86bc823..21a86ff 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -399,6 +399,7 @@ static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)
(work->blk.nonce > 0 && nonce < work->blk.nonce - bitforce->nonces - 1)))) {
applog(LOG_DEBUG, "BFL%i: Disabling broken nonce range support", bitforce->device_id);
bitforce->nonce_range = false;
+ work->blk.nonce = 0xffffffff;
}
submit_nonce(thr, work, nonce);