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>
This commit is contained in:
parent
0b42928ca5
commit
21e4e9c6d8
@ -5788,6 +5788,7 @@ static fc_port_t *qlt_get_port_database(struct scsi_qla_host *vha,
|
||||
tfcp->port_type = fcport->port_type;
|
||||
tfcp->supported_classes = fcport->supported_classes;
|
||||
tfcp->flags |= fcport->flags;
|
||||
tfcp->scan_state = QLA_FCPORT_FOUND;
|
||||
|
||||
del = fcport;
|
||||
fcport = tfcp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user