scsi: qla2xxx: Fix stalled relogin
commit15b6c3c9568765f0717b2dd3aa67a5f7eadd9734
authorHimanshu Madhani <himanshu.madhani@cavium.com>
Thu, 2 Aug 2018 20:16:55 +0000 (2 13:16 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Aug 2018 20:56:18 +0000 (2 16:56 -0400)
tree71edf3ce4262d50ef5be53daee43424556bae7f5
parentf6145e86d21fccd59bbb87bc1e1eb076658fd79a
scsi: qla2xxx: Fix stalled relogin

This patch sets and clears FCF_ASYNC_{SENT|ACTIVE} flags to prevent
stalling of relogin attempt. Once flag are correctly set/cleared, relogin
timer can retry relogin attempt for driver to continue login.

Fixes: fa83e65885b9 ("scsi: qla2xxx: ensure async flags are reset correctly")
Cc: stable@vger.kernel.org #4.17
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
drivers/scsi/qla2xxx/qla_iocb.c