scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
authorJames Smart <jsmart2021@gmail.com>
Sat, 4 Mar 2017 17:30:25 +0000 (09:30 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Mar 2017 04:04:22 +0000 (23:04 -0500)
commit5d181531bc6169e19a02a27d202cf0e982db9d0e
tree857150855465097ddb02a410a557a7cc07734940
parentd11f54b7d1d40463024be3b40ab7be2c8a84fa43
scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters

if REG_VPI fails, the driver was incorrectly issuing INIT_VFI
(a SLI4 command) on a SLI3 adapter.

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