Limit bxf sleep in bxf_scan to 100ms minimum for strings of many chips
diff --git a/driver-bitfury.c b/driver-bitfury.c
index 975179e..673e1b0 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -1222,11 +1222,14 @@ out:
static int64_t bxf_scan(struct cgpu_info *bitfury, struct bitfury_info *info)
{
+ int ms, aged;
int64_t ret;
- int aged;
bxf_update_work(bitfury, info);
- cgsleep_ms(1200 / info->chips);
+ ms = 1200 / info->chips;
+ if (ms < 100)
+ ms = 100;
+ cgsleep_ms(ms);
mutex_lock(&info->lock);
ret = bitfury_rate(info);