if user space set stream to 0xff insert correct stream number

This commit is contained in:
rjkm
2025-08-22 14:42:56 +02:00
parent 08bd483b19
commit a287e1b4cd

View File

@@ -1985,6 +1985,8 @@ int ddbridge_mod_do_ioctl(struct file *file, unsigned int cmd, void *parg)
ret = -EFAULT;
break;
}
if (msg->cmd.mod_stream == 0xff)
msg->cmd.mod_stream = output->nr;
ret = ddb_mci_cmd_link(link, &msg->cmd, &msg->res);
break;
}