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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 556d55fc9456..914e74ac11e5 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -2200,7 +2200,7 @@ lpfc_disc_list_loopmap(struct lpfc_vport *vport)
2200 /* If cfg_scan_down is set, start from highest 2200 /* If cfg_scan_down is set, start from highest
2201 * ALPA (0xef) to lowest (0x1). 2201 * ALPA (0xef) to lowest (0x1).
2202 */ 2202 */
2203 if (phba->cfg_scan_down) 2203 if (vport->cfg_scan_down)
2204 index = j; 2204 index = j;
2205 else 2205 else
2206 index = FC_MAXLOOP - j - 1; 2206 index = FC_MAXLOOP - j - 1;
@@ -2749,7 +2749,7 @@ lpfc_mbx_cmpl_fdmi_reg_login(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
2749 * fdmi-on=2 (supporting RPA/hostnmae) 2749 * fdmi-on=2 (supporting RPA/hostnmae)
2750 */ 2750 */
2751 2751
2752 if (phba->cfg_fdmi_on == 1) 2752 if (vport->cfg_fdmi_on == 1)
2753 lpfc_fdmi_cmd(vport, ndlp, SLI_MGMT_DHBA); 2753 lpfc_fdmi_cmd(vport, ndlp, SLI_MGMT_DHBA);
2754 else 2754 else
2755 mod_timer(&vport->fc_fdmitmo, jiffies + HZ * 60); 2755 mod_timer(&vport->fc_fdmitmo, jiffies + HZ * 60);