scsi: lpfc: Driver fails to detect direct attach storage array
authorJames Smart <jsmart2021@gmail.com>
Tue, 21 Nov 2017 00:00:34 +0000 (16:00 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Dec 2017 01:32:54 +0000 (20:32 -0500)
commitd33d0eb28b883b09a48a7d608640e9aeecd9edbf
treeeb789fa8e3ab5104f232f31f48ed6e40776a1294
parentd73154ba3294e02de01cb60effe938c68621fe32
scsi: lpfc: Driver fails to detect direct attach storage array

The driver does not respond to PLOGI from the direct attach target.  The
driver uses incorrect S_ID in CONFIG_LINK, after FLOGI completion

Correct by issuing CONFIG_LINK with the correct S_ID after receiving the
PLOGI from the target

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c