lpfc: Fix RegLogin failed error seen on Lancer FC during port bounce
authorJames Smart <james.smart@avagotech.com>
Wed, 16 Dec 2015 23:11:55 +0000 (18:11 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Dec 2015 02:53:41 +0000 (21:53 -0500)
commit4b7789b71c916f79a3366da080101014473234c3
tree82193138b1388cf3e97e7a75951806ff676a1984
parentd6de08cc46269899988b4f40acc7337279693d4b
lpfc: Fix RegLogin failed error seen on Lancer FC during port bounce

Fix RegLogin failed error seen on Lancer FC during port bounce

Fix the statemachine and ref counting.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_nportdisc.c