diff options
Diffstat (limited to 'drivers/scsi/imm.c')
-rw-r--r-- | drivers/scsi/imm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index 65e845665b85..fc0f30ae0f77 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c | |||
@@ -830,7 +830,7 @@ static int imm_engine(imm_struct *dev, struct scsi_cmnd *cmd) | |||
830 | 830 | ||
831 | /* Phase 2 - We are now talking to the scsi bus */ | 831 | /* Phase 2 - We are now talking to the scsi bus */ |
832 | case 2: | 832 | case 2: |
833 | if (!imm_select(dev, cmd->device->id)) { | 833 | if (!imm_select(dev, scmd_id(cmd))) { |
834 | imm_fail(dev, DID_NO_CONNECT); | 834 | imm_fail(dev, DID_NO_CONNECT); |
835 | return 0; | 835 | return 0; |
836 | } | 836 | } |