lpfc: Check for active portpeerbeacon.
authorJames Smart <james.smart@avagotech.com>
Fri, 22 May 2015 14:42:35 +0000 (10:42 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 13 Jun 2015 15:18:07 +0000 (08:18 -0700)
commit481ad967991e1ff00d627d365de398b7a77e4d7f
tree309ccf1faebb9781ade345acd6f5033cde64c781
parent641c43cc6909d949f7c630a5208e76ffbb236521
lpfc: Check for active portpeerbeacon.

LCB requests to set Beacon would fail if the beacon was already enabled
internally as the mailbox command used to query the state failes with
an already-set status.

Correct by enhancing the check so we don't fail if if the already set
status comes back.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hw4.h
This page took 0.026861 seconds and 5 git commands to generate.