mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 08:33:14 +00:00
scsi: qla2xxx: Fix scan state field for fcport
Add correct value of scan_state field indicating state of the FC port
Fixes: 726b854870
("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>
This commit is contained in:
parent
063b36d6b0
commit
76f9a2dd4c
1 changed files with 1 additions and 0 deletions
|
@ -5811,6 +5811,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…
Add table
Add a link
Reference in a new issue