Browse Source

Revert "bitforce: Skip out of sending work if work restart requested"

This reverts commit cf36331d81.
nfactor-troky
ckolivas 13 years ago
parent
commit
23a8c60420
  1. 3
      driver-bitforce.c

3
driver-bitforce.c

@ -287,8 +287,7 @@ re_send: @@ -287,8 +287,7 @@ re_send:
BFgets(pdevbuf, sizeof(pdevbuf), fdDev);
if (!pdevbuf[0] || !strncasecmp(pdevbuf, "B", 1)) {
mutex_unlock(&bitforce->device_mutex);
if (!restart_wait(WORK_CHECK_INTERVAL_MS))
return false;
nmsleep(WORK_CHECK_INTERVAL_MS);
goto re_send;
} else if (unlikely(strncasecmp(pdevbuf, "OK", 2))) {
mutex_unlock(&bitforce->device_mutex);

Loading…
Cancel
Save