qla2xxx: Fix missing device login retries.
authorArun Easi <arun.easi@qlogic.com>
Tue, 4 Aug 2015 17:38:02 +0000 (13:38 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 00:49:23 +0000 (17:49 -0700)
commita1d0285ecb61800a9e6808f716b880eae95f14bc
treed59607f635233ce4ab110dbeb2516227c2862b84
parent63e322aaa6a00536055558ac1307b2919ee57aef
qla2xxx: Fix missing device login retries.

On certain conditions, login failures will just invoke
qla2x00_mark_device_lost() with the intend to do login again;
but if login_retry has been set already, that would fail to set the
relogin needed flag which is required to wakeup the DPC to retry.

Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_os.c