Fixed wrong state assigmnent in scst_xmit_response()
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 22 Apr 2008 15:04:09 +0000 (15:04 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 22 Apr 2008 15:04:09 +0000 (15:04 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@351 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst/src/scst_targ.c

index 286664f..8c47cb7 100644 (file)
@@ -2591,7 +2591,7 @@ static int scst_xmit_response(struct scst_cmd *cmd)
                        goto out;
 
                /* Restore the previous state */
                        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:
 
                switch (rc) {
                case SCST_TGT_RES_QUEUE_FULL: