diff options
author | James Smart <james.smart@emulex.com> | 2013-09-06 12:22:46 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-10 17:32:36 -0700 |
commit | 0c4112223cc947992186f13837747c3b259bd31d (patch) | |
tree | bf26dc7f1837580c7750345df5739eb6ba4b1b41 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 164cecd1b9aed821d29ee9543ea4ad7435321823 (diff) | |
download | op-kernel-dev-0c4112223cc947992186f13837747c3b259bd31d.zip op-kernel-dev-0c4112223cc947992186f13837747c3b259bd31d.tar.gz |
[SCSI] lpfc 8.3.42: Fixed issue of task management commands having a fixed timeout
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 556bc7a..c913e8c 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c @@ -5015,7 +5015,7 @@ lpfc_send_taskmgmt(struct lpfc_vport *vport, struct lpfc_rport_data *rdata, lpfc_cmd = lpfc_get_scsi_buf(phba, rdata->pnode); if (lpfc_cmd == NULL) return FAILED; - lpfc_cmd->timeout = 60; + lpfc_cmd->timeout = phba->cfg_task_mgmt_tmo; lpfc_cmd->rdata = rdata; status = lpfc_scsi_prep_task_mgmt_cmd(vport, lpfc_cmd, lun_id, |