scsi: qla2xxx: Fix login state machine stuck at GPDB
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:45:03 +0000 (14:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:26 +0000 (10:54 +0100)
commit4274e4a3bee9ea7010f411b6b6ae37cfcdcca7c4
treeef6155178712adb3cddfe0ab52ce6e8bdd0aae9f
parent585f4ebd9e66a4fc78dd9893529ed9cb4759063f
scsi: qla2xxx: Fix login state machine stuck at GPDB

commit 414d9ff3f8039f85d23f619dcbbd1ba2628a1a67 upstream.

This patch returns discovery state machine back to Login Complete.

Fixes: 726b85487067d ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_init.c