Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> --- usr/spc.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/spc.c b/usr/spc.c index 60fd7d7..ac5c3de 100644 --- a/usr/spc.c +++ b/usr/spc.c @@ -383,6 +383,9 @@ int spc_mode_select(int host_no, struct scsi_cmd *cmd, if (block_descriptor_len != BLOCK_DESCRIPTOR_LEN) goto sense; + memcpy(cmd->dev->mode_block_descriptor, data + offset, + BLOCK_DESCRIPTOR_LEN); + offset += 8; } -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html