summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_els.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2009-12-21 17:02:00 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-01-04 11:39:43 -0600
commit1987807d4a7f52ca86034865283b207ab9be79c8 (patch)
tree7eacfab124bce1ca9a55a77465142c68a17389aa /drivers/scsi/lpfc/lpfc_els.c
parenteeead8115276a76675dc7cfc823a2461745edd27 (diff)
downloadop-kernel-dev-1987807d4a7f52ca86034865283b207ab9be79c8.zip
op-kernel-dev-1987807d4a7f52ca86034865283b207ab9be79c8.tar.gz
[SCSI] lpfc 8.3.7: Fix NPIV operation errors
Fix NPIV operation errors: - Fix vport not logging out of fabric when being deleted - Fix vport fails to discover targets after devloss timeout. Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_els.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index ce52270..bb2e43a 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -5948,8 +5948,8 @@ lpfc_cmpl_reg_new_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
lpfc_initial_fdisc(vport);
break;
}
-
} else {
+ vport->vpi_state |= LPFC_VPI_REGISTERED;
if (vport == phba->pport)
if (phba->sli_rev < LPFC_SLI_REV4)
lpfc_issue_fabric_reglogin(vport);
OpenPOWER on IntegriCloud