mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Complete the previous fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -886,7 +886,7 @@ out:
|
||||
*/
|
||||
if (unlikely((cmd->data_len == SCST_DEF_DATA_LEN)) &&
|
||||
(!cmd->completed ||
|
||||
(((cmd->state <= SCST_CMD_STATE_PRE_XMIT_RESP) ||
|
||||
(((cmd->state < SCST_CMD_STATE_PRE_XMIT_RESP) ||
|
||||
(cmd->state >= SCST_CMD_STATE_LAST_ACTIVE)) &&
|
||||
(cmd->state != SCST_CMD_STATE_PREPROCESSING_DONE)))) {
|
||||
PRINT_CRIT_ERROR("Not initialized data_len for going to "
|
||||
@@ -894,7 +894,6 @@ out:
|
||||
"completed %d, state %d)", cmd, cmd->data_len,
|
||||
cmd->completed, cmd->state);
|
||||
sBUG();
|
||||
goto out_hw_error;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user