diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2018-09-11 20:18:15 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-09-12 03:28:09 +0300 |
commit | 5d74c87a20adcc77b19753c315ad9c320b2288be (patch) | |
tree | cdb126543a13bbe22f119f1c80e1de716ff5f4b0 /drivers | |
parent | f99c5d294b3653e6ae563eaac5db5b4138afe31c (diff) | |
download | linux-5d74c87a20adcc77b19753c315ad9c320b2288be.tar.xz |
scsi: qla2xxx: Fix port speed display on chip reset
Clear port speed value on chip reset.
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 096743331ec4..4d04603dd4ae 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -6560,6 +6560,7 @@ qla2x00_abort_isp_cleanup(scsi_qla_host_t *vha) if (!(IS_P3P_TYPE(ha))) ha->isp_ops->reset_chip(vha); + ha->link_data_rate = PORT_SPEED_UNKNOWN; SAVE_TOPO(ha); ha->flags.rida_fmt2 = 0; ha->flags.n2n_ae = 0; |