scsi: qla2xxx: Fix FC-AL connection target discovery
authorQuinn Tran <qtran@marvell.com>
Fri, 15 Mar 2019 22:04:18 +0000 (15:04 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 18:31:40 +0000 (14:31 -0400)
commit4705f10e82c63924bd84a9b31d15839ec9ba3d06
tree669acbaf9741177df22565228bc205dbcba66ff8
parent17605afaae825b0291f80c62a7f6565879edaa8a
scsi: qla2xxx: Fix FC-AL connection target discovery

Commit 7f147f9bfd44 ("scsi: qla2xxx: Fix N2N target discovery with Local
loop") fixed N2N target discovery for local loop.  However, same code is
used for FC-AL discovery as well. Added check to make sure we are bypassing
area and domain check only in N2N topology for target discovery.

Fixes: 7f147f9bfd44 ("scsi: qla2xxx: Fix N2N target discovery with Local loop")
Cc: stable@vger.kernel.org # 5.0+
Signed-off-by: Quinn Tran <qtran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c