summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gs.c
diff options
context:
space:
mode:
authorHimanshu Madhani <hmadhani@marvell.com>2020-02-12 22:44:32 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-02-24 18:34:29 +0100
commitd26a8982c9bd92ce3596eb4f86e922cdaf6751e5 (patch)
tree257499796b39f72c2c04a197182fdff873d9292f /drivers/scsi/qla2xxx/qla_gs.c
parentscsi: qla2xxx: Use correct ISP28xx active FW region (diff)
downloadlinux-d26a8982c9bd92ce3596eb4f86e922cdaf6751e5.tar.xz
linux-d26a8982c9bd92ce3596eb4f86e922cdaf6751e5.zip
scsi: qla2xxx: Save rscn_gen for new fcport
Add missing rscn_gen when creating new fcport. Link: https://lore.kernel.org/r/20200212214436.25532-22-hmadhani@marvell.com Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gs.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_gs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c
index e67105aca497..5af49a7ddb22 100644
--- a/drivers/scsi/qla2xxx/qla_gs.c
+++ b/drivers/scsi/qla2xxx/qla_gs.c
@@ -3487,6 +3487,7 @@ void qla24xx_async_gnnft_done(scsi_qla_host_t *vha, srb_t *sp)
if (memcmp(rp->port_name, fcport->port_name, WWN_SIZE))
continue;
fcport->scan_state = QLA_FCPORT_FOUND;
+ fcport->last_rscn_gen = fcport->rscn_gen;
found = true;
/*
* If device was not a fabric device before.