diff options
author | Vijay Mohan Guvva <vmohan@Brocade.com> | 2013-05-13 05:56:48 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-04 14:16:27 -0400 |
commit | 07cdc0464fb9438fd205069dc09d47b8783ad271 (patch) | |
tree | cfa13096086b0610e924efcdc3e133501fb7464e /drivers/scsi/bfa | |
parent | 111ecbe426241bdc89c33e9acd08eb15744ce031 (diff) |
[SCSI] bfa: fix for FC Direct Attach LUN discovery failure
Resending the patch as it didn't make the linux-scsi list.
This patch fixes fcs rport state machine to address ocassional Brocade
FC Direct Attach LUN discovery failure due to not sending PLOGI accept
to the target.
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcs_rport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs_rport.c b/drivers/scsi/bfa/bfa_fcs_rport.c index 58ac643ba9f3..610ca9500aac 100644 --- a/drivers/scsi/bfa/bfa_fcs_rport.c +++ b/drivers/scsi/bfa/bfa_fcs_rport.c | |||
@@ -189,8 +189,8 @@ bfa_fcs_rport_sm_uninit(struct bfa_fcs_rport_s *rport, enum rport_event event) | |||
189 | break; | 189 | break; |
190 | 190 | ||
191 | case RPSM_EVENT_PLOGI_RCVD: | 191 | case RPSM_EVENT_PLOGI_RCVD: |
192 | bfa_sm_set_state(rport, bfa_fcs_rport_sm_fc4_fcs_online); | 192 | bfa_sm_set_state(rport, bfa_fcs_rport_sm_plogiacc_sending); |
193 | bfa_fcs_rport_fcs_online_action(rport); | 193 | bfa_fcs_rport_send_plogiacc(rport, NULL); |
194 | break; | 194 | break; |
195 | 195 | ||
196 | case RPSM_EVENT_PLOGI_COMP: | 196 | case RPSM_EVENT_PLOGI_COMP: |