diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 7c4f389a2f67..d2b55f05aa02 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -3016,7 +3016,12 @@ lpfc_mbx_cmpl_fabric_reg_login(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) | |||
3016 | lpfc_nlp_set_state(vport, ndlp, NLP_STE_UNMAPPED_NODE); | 3016 | lpfc_nlp_set_state(vport, ndlp, NLP_STE_UNMAPPED_NODE); |
3017 | 3017 | ||
3018 | if (vport->port_state == LPFC_FABRIC_CFG_LINK) { | 3018 | if (vport->port_state == LPFC_FABRIC_CFG_LINK) { |
3019 | lpfc_start_fdiscs(phba); | 3019 | /* when physical port receive logo donot start |
3020 | * vport discovery */ | ||
3021 | if (!(vport->fc_flag & FC_LOGO_RCVD_DID_CHNG)) | ||
3022 | lpfc_start_fdiscs(phba); | ||
3023 | else | ||
3024 | vport->fc_flag &= ~FC_LOGO_RCVD_DID_CHNG ; | ||
3020 | lpfc_do_scr_ns_plogi(phba, vport); | 3025 | lpfc_do_scr_ns_plogi(phba, vport); |
3021 | } | 3026 | } |
3022 | 3027 | ||