scsi: lpfc: Relocate clearing initial phba flags from link up to link down hdlr
authorJustin Tee <justin.tee@broadcom.com>
Wed, 18 Jun 2025 19:21:32 +0000 (12:21 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 23 Jun 2025 17:10:33 +0000 (13:10 -0400)
commit320c3a12b40c94326f401705cdf224e8a661f1a2
tree19b197715b658fcc60295ed7cb3995092cb119de
parent5a00dfc58bfe5fcff079bf90d1cc0254cab8e33e
scsi: lpfc: Relocate clearing initial phba flags from link up to link down hdlr

Port wide initialization flags FLOGI_ISSUED and RHBA_CMPL make more sense
to be cleared upon a link down event rather than waiting for a link up
event.  By moving clearing of these initializatin flags to a link down
handler, future confusion on the state of initialization is avoided.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20250618192138.124116-8-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c