aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 55c4e5455a57..f96ab75ba637 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -990,7 +990,7 @@ lpfc_mbx_process_link_up(struct lpfc_hba *phba, READ_LA_VAR *la)
990 } 990 }
991 } else { 991 } else {
992 if (!(phba->sli3_options & LPFC_SLI3_NPIV_ENABLED)) { 992 if (!(phba->sli3_options & LPFC_SLI3_NPIV_ENABLED)) {
993 if (phba->max_vpi && phba->cfg_npiv_enable && 993 if (phba->max_vpi && phba->cfg_enable_npiv &&
994 (phba->sli_rev == 3)) 994 (phba->sli_rev == 3))
995 phba->sli3_options |= LPFC_SLI3_NPIV_ENABLED; 995 phba->sli3_options |= LPFC_SLI3_NPIV_ENABLED;
996 } 996 }