Fixed wrong state assigmnent in scst_xmit_response()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@351 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-04-22 15:04:09 +00:00
parent 925fbcdda3
commit be9a66547f

View File

@@ -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: