diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 7ec0b8d6f07b..6544b6d0891d 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
@@ -814,6 +814,7 @@ qla24xx_start_scsi(srb_t *sp) | |||
814 | cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; | 814 | cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; |
815 | 815 | ||
816 | int_to_scsilun(sp->cmd->device->lun, &cmd_pkt->lun); | 816 | int_to_scsilun(sp->cmd->device->lun, &cmd_pkt->lun); |
817 | host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); | ||
817 | 818 | ||
818 | /* Load SCSI command packet. */ | 819 | /* Load SCSI command packet. */ |
819 | memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); | 820 | memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); |