From 7f8250132a9ba2853354e392d2470eae943e06d1 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 1 Aug 2012 20:08:37 +1000 Subject: [PATCH] Clear bitforce buffer on init as previously. --- driver-bitforce.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver-bitforce.c b/driver-bitforce.c index f7e5b3e4..4005d251 100644 --- a/driver-bitforce.c +++ b/driver-bitforce.c @@ -185,6 +185,8 @@ void bitforce_init(struct cgpu_info *bitforce) applog(LOG_WARNING, "BFL%i: Re-initialising", bitforce->device_id); + biforce_clear_buffer(bitforce); + mutex_lock(&bitforce->device_mutex); if (fdDev) { BFclose(fdDev);