On 14/11/2023 01:37, Mike Christie wrote:
/* Each pass gets up to three chances to ignore Unit Attention */+ scsi_reset_failures(&failures); + for (count = 0; count < 3; ++count) {
So do we keep this loop for the USB workaround (not shown)? I just wonder why we retry in this outer loop as well as now inside scsi_execute_cmd(). Maybe I'm missing something ....
Thanks, John
memset(scsi_cmd, 0, 6); scsi_cmd[0] = INQUIRY;