mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
reject too small symbol rates
This commit is contained in:
parent
c75a7892d9
commit
2d41161cb4
@ -256,6 +256,8 @@ static int mod_set_symbolrate(struct ddb_mod *mod, u32 srate)
|
||||
{
|
||||
struct ddb *dev = mod->port->dev;
|
||||
|
||||
if (srate < 1000000)
|
||||
return -EINVAL;
|
||||
if (dev->link[0].info->version < 2) {
|
||||
if (srate != 6900000)
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user