diff options
author | James Smart <james.smart@emulex.com> | 2012-05-09 21:16:42 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-17 05:32:47 -0400 |
commit | e64464391d39b69c950d3645f001eb1af7a8bfd0 (patch) | |
tree | 661757d92fa786b14b86c1f4dea18bb71e4b00cb /drivers/scsi/lpfc/lpfc_hbadisc.c | |
parent | b99570dd63757834cd0c21e1b117c857af90a04a (diff) |
[SCSI] lpfc 8.3.31: Fix initiator sending flogi after acking flogi from target
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index b507536dc5b5..30991d810928 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -1094,7 +1094,7 @@ lpfc_mbx_cmpl_local_config_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) | |||
1094 | /* Start discovery by sending a FLOGI. port_state is identically | 1094 | /* Start discovery by sending a FLOGI. port_state is identically |
1095 | * LPFC_FLOGI while waiting for FLOGI cmpl | 1095 | * LPFC_FLOGI while waiting for FLOGI cmpl |
1096 | */ | 1096 | */ |
1097 | if (vport->port_state != LPFC_FLOGI) | 1097 | if (vport->port_state != LPFC_FLOGI || vport->fc_flag & FC_PT2PT_PLOGI) |
1098 | lpfc_initial_flogi(vport); | 1098 | lpfc_initial_flogi(vport); |
1099 | return; | 1099 | return; |
1100 | 1100 | ||