aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_nportdisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_nportdisc.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c
index 2ddd02f7c60..e8bb0055994 100644
--- a/drivers/scsi/lpfc/lpfc_nportdisc.c
+++ b/drivers/scsi/lpfc/lpfc_nportdisc.c
@@ -783,6 +783,14 @@ lpfc_device_rm_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
783} 783}
784 784
785static uint32_t 785static uint32_t
786lpfc_device_recov_unused_node(struct lpfc_vport *vport,
787 struct lpfc_nodelist *ndlp,
788 void *arg, uint32_t evt)
789{
790 return ndlp->nlp_state;
791}
792
793static uint32_t
786lpfc_rcv_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, 794lpfc_rcv_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
787 void *arg, uint32_t evt) 795 void *arg, uint32_t evt)
788{ 796{
@@ -2147,7 +2155,7 @@ static uint32_t (*lpfc_disc_action[NLP_STE_MAX_STATE * NLP_EVT_MAX_EVENT])
2147 lpfc_disc_illegal, /* CMPL_ADISC */ 2155 lpfc_disc_illegal, /* CMPL_ADISC */
2148 lpfc_disc_illegal, /* CMPL_REG_LOGIN */ 2156 lpfc_disc_illegal, /* CMPL_REG_LOGIN */
2149 lpfc_device_rm_unused_node, /* DEVICE_RM */ 2157 lpfc_device_rm_unused_node, /* DEVICE_RM */
2150 lpfc_disc_illegal, /* DEVICE_RECOVERY */ 2158 lpfc_device_recov_unused_node, /* DEVICE_RECOVERY */
2151 2159
2152 lpfc_rcv_plogi_plogi_issue, /* RCV_PLOGI PLOGI_ISSUE */ 2160 lpfc_rcv_plogi_plogi_issue, /* RCV_PLOGI PLOGI_ISSUE */
2153 lpfc_rcv_prli_plogi_issue, /* RCV_PRLI */ 2161 lpfc_rcv_prli_plogi_issue, /* RCV_PRLI */