diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 286664f6a..8c47cb71d 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -2591,7 +2591,7 @@ static int scst_xmit_response(struct scst_cmd *cmd) goto out; /* Restore the previous state */ - cmd->state = SCST_CMD_STATE_PRE_XMIT_RESP; + cmd->state = SCST_CMD_STATE_XMIT_RESP; switch (rc) { case SCST_TGT_RES_QUEUE_FULL: