diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-10-27 13:37:25 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:22:32 -0500 |
commit | 0b727fea7a700e223bf52fb1eaf4c3a27c4340db (patch) | |
tree | ff4eb6c5ab0ac7c3b2a299f037d1b73224a07c9e /drivers/scsi/lpfc/lpfc_nportdisc.c | |
parent | 7ee5d43e2ea25336a7638715420c75583bd2ed69 (diff) |
[SCSI] lpfc 8.2.3 : Remove flawed MBX_STOP_IOCB logic
Remove flawed MBX_STOP_IOCB logic
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_nportdisc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c index 880af0cd463d..71fd00127351 100644 --- a/drivers/scsi/lpfc/lpfc_nportdisc.c +++ b/drivers/scsi/lpfc/lpfc_nportdisc.c | |||
@@ -343,8 +343,7 @@ lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, | |||
343 | lpfc_config_link(phba, mbox); | 343 | lpfc_config_link(phba, mbox); |
344 | mbox->mbox_cmpl = lpfc_sli_def_mbox_cmpl; | 344 | mbox->mbox_cmpl = lpfc_sli_def_mbox_cmpl; |
345 | mbox->vport = vport; | 345 | mbox->vport = vport; |
346 | rc = lpfc_sli_issue_mbox | 346 | rc = lpfc_sli_issue_mbox(phba, mbox, MBX_NOWAIT); |
347 | (phba, mbox, (MBX_NOWAIT | MBX_STOP_IOCB)); | ||
348 | if (rc == MBX_NOT_FINISHED) { | 347 | if (rc == MBX_NOT_FINISHED) { |
349 | mempool_free(mbox, phba->mbox_mem_pool); | 348 | mempool_free(mbox, phba->mbox_mem_pool); |
350 | goto out; | 349 | goto out; |
@@ -828,8 +827,7 @@ lpfc_cmpl_plogi_plogi_issue(struct lpfc_vport *vport, | |||
828 | } | 827 | } |
829 | mbox->context2 = lpfc_nlp_get(ndlp); | 828 | mbox->context2 = lpfc_nlp_get(ndlp); |
830 | mbox->vport = vport; | 829 | mbox->vport = vport; |
831 | if (lpfc_sli_issue_mbox(phba, mbox, | 830 | if (lpfc_sli_issue_mbox(phba, mbox, MBX_NOWAIT) |
832 | (MBX_NOWAIT | MBX_STOP_IOCB)) | ||
833 | != MBX_NOT_FINISHED) { | 831 | != MBX_NOT_FINISHED) { |
834 | lpfc_nlp_set_state(vport, ndlp, | 832 | lpfc_nlp_set_state(vport, ndlp, |
835 | NLP_STE_REG_LOGIN_ISSUE); | 833 | NLP_STE_REG_LOGIN_ISSUE); |