scsi: qla2xxx: Fix login state machine freeze
authorQuinn Tran <quinn.tran@cavium.com>
Thu, 28 Dec 2017 20:33:30 +0000 (12:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:41:06 +0000 (23:41 -0500)
commit2dee5521028cb06c9ad1244e8f945a64c88a250c
tree458f25dee0f0dce70961f71d97eb6aae3f09ad8a
parent75061750aaf41afce3eae4a810e31ffab363a701
scsi: qla2xxx: Fix login state machine freeze

Relogin stop moving forward due to improper check of scan_state flag.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c