diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2010-06-11 19:43:49 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:44 -0400 |
commit | 292e40b956982601dfc61fe8f0470eb18a616d7e (patch) | |
tree | 2a89484df1d379c49706d856eb193e8ac57d543b /drivers/scsi/libfc | |
parent | 516a648631c912e84e0035590f98eef1d716f4ea (diff) |
[SCSI] libfc: Retry a rejected PRLI request
Retry upto max_rport_retry_count when a target responds with
LS_RJT for a PRLI request.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 39e440f0f54a..3ee497a05168 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
@@ -739,7 +739,7 @@ static void fc_rport_prli_resp(struct fc_seq *sp, struct fc_frame *fp, | |||
739 | 739 | ||
740 | } else { | 740 | } else { |
741 | FC_RPORT_DBG(rdata, "Bad ELS response for PRLI command\n"); | 741 | FC_RPORT_DBG(rdata, "Bad ELS response for PRLI command\n"); |
742 | fc_rport_enter_delete(rdata, RPORT_EV_FAILED); | 742 | fc_rport_error_retry(rdata, fp); |
743 | } | 743 | } |
744 | 744 | ||
745 | out: | 745 | out: |