scsi: qla2xxx: Fix scan state field for fcport
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:45:11 +0000 (14:45 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Dec 2017 02:07:07 +0000 (21:07 -0500)
commit76f9a2dd4c60183879a1898bcd56a1dbab19a85d
treeaf19314390841b945be524ba33b439a2f6bdfc75
parent063b36d6b0ad74c748d536f5cb47bac2f850a0fa
scsi: qla2xxx: Fix scan state field for fcport

Add correct value of scan_state field indicating state of the FC port

Fixes: 726b85487067d ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c