OSDN Git Service

scsi: lpfc: Fix issue_lip if link is disabled
authorJames Smart <jsmart2021@gmail.com>
Tue, 30 Jan 2018 23:58:55 +0000 (15:58 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 12 Feb 2018 16:43:23 +0000 (11:43 -0500)
commit2289e9598dde9705400559ca2606fb8c145c34f0
treeea0532b891705ab8f5c5c899ece69ab84b6a5f70
parent161df4f09987ae2e9f0f97f0b38eee298b4a39ff
scsi: lpfc: Fix issue_lip if link is disabled

The driver ignored checks on whether the link should be kept
administratively down after a link bounce. Correct the checks.

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