Skip to content

Commit

Permalink
Drop a failed restart icarus device to allow it to be rehotplugged if…
Browse files Browse the repository at this point in the history
… possible.
  • Loading branch information
ckolivas committed Mar 18, 2014
1 parent f5cc0cf commit c8c9d87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver-icarus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,7 @@ static int64_t icarus_scanwork(struct thr_info *thr)
if (share_work_tdiff(icarus) > info->fail_time + 60) {
applog(LOG_ERR, "%s %d: Device failed to respond to restart",
icarus->drv->name, icarus->device_id);
usb_nodev(icarus);
return -1;
}
} else {
Expand Down

0 comments on commit c8c9d87

Please sign in to comment.