Skip to content

Commit c6e085c

Browse files
javed-hmartinkpetersen
authored andcommitted
scsi: libfc: rport state move to PLOGI if all PRLI retry exhausted
After all PRLI retries are exhausted, move rport state machine back to PLOGI state. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Javed Hasan <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 45e544b commit c6e085c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/scsi/libfc/fc_rport.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,8 @@ static void fc_rport_error(struct fc_rport_priv *rdata, int err)
632632
fc_rport_enter_ready(rdata);
633633
break;
634634
case RPORT_ST_PRLI:
635+
fc_rport_enter_plogi(rdata);
636+
break;
635637
case RPORT_ST_ADISC:
636638
fc_rport_enter_logo(rdata);
637639
break;

0 commit comments

Comments
 (0)