scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags
authorGiridhar Malavali <gmalavali@marvell.com>
Tue, 2 Apr 2019 21:24:22 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:11:36 +0000 (23:11 -0400)
commit0257eda08e806b82ee1fc90ef73583b6f022845c
treed5f92d3ad71cf9a8496fcea5106f31756e8a650c
parentae6ccb0f8153fe9e3b9287a74aa9742ea212e89c
scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags

Driver maintains state machine for processing and completing switch
commands. This patch resets FCF_ASYNC_{SENT|ACTIVE} flag to indicate if the
previous command is active or sent, in order for next GPSC command to
advance the state machine.

[mkp: commit desc typo]

Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gs.c