aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/stex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/stex.c')
-rw-r--r--drivers/scsi/stex.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
index 81dd3b740daf..47c2ef917fea 100644
--- a/drivers/scsi/stex.c
+++ b/drivers/scsi/stex.c
@@ -612,6 +612,13 @@ stex_queuecommand(struct scsi_cmnd *cmd, void (* done)(struct scsi_cmnd *))
612 return 0; 612 return 0;
613 } 613 }
614 break; 614 break;
615 case TEST_UNIT_READY:
616 if (id == host->max_id - 1) {
617 cmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8;
618 done(cmd);
619 return 0;
620 }
621 break;
615 case INQUIRY: 622 case INQUIRY:
616 if (id != host->max_id - 1) 623 if (id != host->max_id - 1)
617 break; 624 break;