scsi: lpfc: Fix registration of ELS type support in fdmi
authorJames Smart <jsmart2021@gmail.com>
Tue, 28 Jan 2020 00:23:04 +0000 (16:23 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 11 Feb 2020 03:46:55 +0000 (22:46 -0500)
commit792f3b90be2aeedf5e076bbe6c5808e693f51c23
treef5ffe87b031272dd74708188ca2272906b4d9cfc
parent835214f5d5f516a38069bc077c879c7da00d6108
scsi: lpfc: Fix registration of ELS type support in fdmi

Adjust FC4 Types in FDMI settings

The driver sets FDMI information registring ELS as a FC4 type.  ELS is a
fc3 type and should not be registered.

Fix by removing ELS type bit when we register for FDMI Port attributes.

Link: https://lore.kernel.org/r/20200128002312.16346-5-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c