scsi: qla2xxx: Prevent multiple ADISC commands per session
authorQuinn Tran <qtran@marvell.com>
Fri, 15 Feb 2019 22:37:16 +0000 (14:37 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Feb 2019 23:58:36 +0000 (18:58 -0500)
commit192c4e9b9322ae445fa12914941e2278c7d4829f
tree8f7f3cdf1e6ec695278636cd611f345a4f0d6a07
parent471f8e03d74d9ea1084e7fbbba66ea2488b0c14f
scsi: qla2xxx: Prevent multiple ADISC commands per session

Add check to allow 1 discovery command per session to be sent.

Signed-off-by: Quinn Tran <qtran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c