diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_nportdisc.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c index dba11d94d27d..8affc1543c6e 100644 --- a/drivers/scsi/lpfc/lpfc_nportdisc.c +++ b/drivers/scsi/lpfc/lpfc_nportdisc.c | |||
@@ -880,7 +880,7 @@ lpfc_rcv_plogi_adisc_issue(struct lpfc_hba * phba, | |||
880 | ndlp->nlp_prev_state = NLP_STE_ADISC_ISSUE; | 880 | ndlp->nlp_prev_state = NLP_STE_ADISC_ISSUE; |
881 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; | 881 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; |
882 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); | 882 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); |
883 | lpfc_issue_els_plogi(phba, ndlp, 0); | 883 | lpfc_issue_els_plogi(phba, ndlp->nlp_DID, 0); |
884 | 884 | ||
885 | return ndlp->nlp_state; | 885 | return ndlp->nlp_state; |
886 | } | 886 | } |
@@ -1503,11 +1503,12 @@ lpfc_rcv_plogi_npr_node(struct lpfc_hba * phba, | |||
1503 | 1503 | ||
1504 | /* send PLOGI immediately, move to PLOGI issue state */ | 1504 | /* send PLOGI immediately, move to PLOGI issue state */ |
1505 | if (!(ndlp->nlp_flag & NLP_DELAY_TMO)) { | 1505 | if (!(ndlp->nlp_flag & NLP_DELAY_TMO)) { |
1506 | ndlp->nlp_prev_state = NLP_STE_NPR_NODE; | 1506 | ndlp->nlp_prev_state = NLP_STE_NPR_NODE; |
1507 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; | 1507 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; |
1508 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); | 1508 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); |
1509 | lpfc_issue_els_plogi(phba, ndlp, 0); | 1509 | lpfc_issue_els_plogi(phba, ndlp->nlp_DID, 0); |
1510 | } | 1510 | } |
1511 | |||
1511 | return ndlp->nlp_state; | 1512 | return ndlp->nlp_state; |
1512 | } | 1513 | } |
1513 | 1514 | ||
@@ -1539,8 +1540,9 @@ lpfc_rcv_prli_npr_node(struct lpfc_hba * phba, | |||
1539 | ndlp->nlp_prev_state = NLP_STE_NPR_NODE; | 1540 | ndlp->nlp_prev_state = NLP_STE_NPR_NODE; |
1540 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; | 1541 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; |
1541 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); | 1542 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); |
1542 | lpfc_issue_els_plogi(phba, ndlp, 0); | 1543 | lpfc_issue_els_plogi(phba, ndlp->nlp_DID, 0); |
1543 | } | 1544 | } |
1545 | |||
1544 | } | 1546 | } |
1545 | return ndlp->nlp_state; | 1547 | return ndlp->nlp_state; |
1546 | } | 1548 | } |
@@ -1579,7 +1581,7 @@ lpfc_rcv_padisc_npr_node(struct lpfc_hba * phba, | |||
1579 | ndlp->nlp_prev_state = NLP_STE_NPR_NODE; | 1581 | ndlp->nlp_prev_state = NLP_STE_NPR_NODE; |
1580 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; | 1582 | ndlp->nlp_state = NLP_STE_PLOGI_ISSUE; |
1581 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); | 1583 | lpfc_nlp_list(phba, ndlp, NLP_PLOGI_LIST); |
1582 | lpfc_issue_els_plogi(phba, ndlp, 0); | 1584 | lpfc_issue_els_plogi(phba, ndlp->nlp_DID, 0); |
1583 | } | 1585 | } |
1584 | } | 1586 | } |
1585 | return ndlp->nlp_state; | 1587 | return ndlp->nlp_state; |