From 2a88d220e41d96974510e0a0e444da56d3d5a841 Mon Sep 17 00:00:00 2001 From: internal Date: Sat, 4 Jun 2022 10:42:22 +0200 Subject: [PATCH] allow MCI commands for SDR cards. --- ddbridge/ddbridge-modulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ddbridge/ddbridge-modulator.c b/ddbridge/ddbridge-modulator.c index 04745df..7127675 100644 --- a/ddbridge/ddbridge-modulator.c +++ b/ddbridge/ddbridge-modulator.c @@ -1787,7 +1787,8 @@ int ddbridge_mod_do_ioctl(struct file *file, unsigned int cmd, void *parg) (struct dtv_properties __user *) parg; int i, ret = 0; - if (dev->link[0].info->version >= 16 && cmd != FE_SET_PROPERTY) + if (dev->link[0].info->version >= 16 && + (cmd != FE_SET_PROPERTY && cmd != IOCTL_DDB_MCI_CMD)) return -EINVAL; mutex_lock(&dev->ioctl_mutex); switch (cmd) {