]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix reported physical link speed on a disabled trunked link
authorJames Smart <jsmart2021@gmail.com>
Wed, 14 Aug 2019 23:57:01 +0000 (16:57 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Aug 2019 02:41:11 +0000 (22:41 -0400)
commit737c433b18ac8113284983ab810bf91d7dcaf541
tree9c98f73eabda2b919f0d05da1c955b1b2c4d7546
parent3c22f8bd8a6a14ec3781a93ca358a7eb513de5a2
scsi: lpfc: Fix reported physical link speed on a disabled trunked link

GetTrunkInfo is displaying an incorrect link speed when the link is a trunk
and the link has gone down.  The driver is not clearing the logical speed
as part of the link down transition.

Fix by setting the logical speed to UNKNOWN SPEED when the link goes down.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hbadisc.c