scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:07 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 16:57:02 +0000 (12:57 -0400)
commitc95a3b4b0fb8d351e2329a96f87c4fc96a149505
tree8add490013b1aad8cff2540b7848f111aa97da12
parent9b1640686470fbbd1c6efb35ada6fe1427ea8d0f
scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices

During debug, it was seen that the driver is issuing commands specific to
SLI3 on SLI4 devices. Although the adapter correctly rejected the command,
this should not be done.

Revise the code to stop sending these commands on a SLI4 adapter.

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