scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
authorHimanshu Madhani <hmadhani@marvell.com>
Fri, 15 Feb 2019 22:37:12 +0000 (14:37 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Feb 2019 23:58:35 +0000 (18:58 -0500)
commitec322937a7f152d68755dc8316523bf6f831b48f
tree2ce286722f6828c8748909c1da29cebf6e895e01
parentbb6abdd453e123bebdf949a03df5e846ecb5866b
scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware

This patch fixes LUN discovery when loop ID is not yet assigned by the
firmware during driver load/sg_reset operations. Driver will now search for
new loop id before retrying login.

Fixes: 48acad099074 ("scsi: qla2xxx: Fix N2N link re-connect")
Cc: stable@vger.kernel.org #4.19
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c