diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_iocb.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index c0ba370b23cf..d37554ecd313 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
@@ -350,6 +350,7 @@ qla2x00_start_scsi(srb_t *sp) | |||
350 | /* Build command packet */ | 350 | /* Build command packet */ |
351 | req->current_outstanding_cmd = handle; | 351 | req->current_outstanding_cmd = handle; |
352 | req->outstanding_cmds[handle] = sp; | 352 | req->outstanding_cmds[handle] = sp; |
353 | sp->handle = handle; | ||
353 | sp->cmd->host_scribble = (unsigned char *)(unsigned long)handle; | 354 | sp->cmd->host_scribble = (unsigned char *)(unsigned long)handle; |
354 | req->cnt -= req_cnt; | 355 | req->cnt -= req_cnt; |
355 | 356 | ||
@@ -778,6 +779,7 @@ qla24xx_start_scsi(srb_t *sp) | |||
778 | /* Build command packet. */ | 779 | /* Build command packet. */ |
779 | req->current_outstanding_cmd = handle; | 780 | req->current_outstanding_cmd = handle; |
780 | req->outstanding_cmds[handle] = sp; | 781 | req->outstanding_cmds[handle] = sp; |
782 | sp->handle = handle; | ||
781 | sp->cmd->host_scribble = (unsigned char *)(unsigned long)handle; | 783 | sp->cmd->host_scribble = (unsigned char *)(unsigned long)handle; |
782 | req->cnt -= req_cnt; | 784 | req->cnt -= req_cnt; |
783 | 785 | ||