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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:26 +0000 (10:54 +0100)
commit21e4e9c6d8abfdcbe6d347fd0c8198fbbd5d2fa9
tree6a1884bbba2ad425d023761596276978378dae66
parent0b42928ca54c2ab5e6f7daa21e570e12dd3065ed
scsi: qla2xxx: Fix scan state field for fcport

commit 76f9a2dd4c60183879a1898bcd56a1dbab19a85d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_target.c