mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
scst: Fix value of FMTDATA bitmask
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4159 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -5125,7 +5125,7 @@ static int get_bidi_trans_len_2(struct scst_cmd *cmd, uint8_t off)
|
||||
|
||||
static int get_trans_len_fmt(struct scst_cmd *cmd, uint8_t off)
|
||||
{
|
||||
if (cmd->cdb[1] & 0x04/*FMTDATA*/) {
|
||||
if (cmd->cdb[1] & 0x10/*FMTDATA*/) {
|
||||
cmd->data_direction = SCST_DATA_WRITE;
|
||||
cmd->op_flags |= SCST_UNKNOWN_LENGTH;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user