scsi: libfc: If PRLI rejected, move rport to PLOGI state
authorJaved Hasan <jhasan@marvell.com>
Fri, 27 Mar 2020 06:02:07 +0000 (23:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 29 Mar 2020 22:10:59 +0000 (18:10 -0400)
commit45e544bfdab2014d11c7595b8ccc3c4715a09015
tree32452e98989fd496ae5621531fa3c972a8f046e9
parent955225db1bd2872d2421e30705244c756a3b7469
scsi: libfc: If PRLI rejected, move rport to PLOGI state

If PRLI reject code indicates "rejected status", move rport state machine
back to PLOGI state.

Link: https://lore.kernel.org/r/20200327060208.17104-2-skashyap@marvell.com
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c