Commit cfb1f18e authored by Zoran Turalija's avatar Zoran Turalija Committed by Rémi Denis-Courmont

dtv multisat: Set dvb_diseqc_master_cmd command length.

FE_DISEQC_SEND_MASTER_CMD will fail if command length is not set,
preventing multi-satellite tunning using DiSEqC switch.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent f19700ea
...@@ -785,6 +785,7 @@ known: ...@@ -785,6 +785,7 @@ known:
| ((voltage == SEC_VOLTAGE_18) << 1) /* polarization */ | ((voltage == SEC_VOLTAGE_18) << 1) /* polarization */
| (tone == SEC_TONE_ON); /* option */ | (tone == SEC_TONE_ON); /* option */
cmd.msg[4] = cmd.msg[5] = 0; /* unused */ cmd.msg[4] = cmd.msg[5] = 0; /* unused */
cmd.msg_len = 4; /* length*/
msleep (15000); /* wait 15 ms before DiSEqC command */ msleep (15000); /* wait 15 ms before DiSEqC command */
if (ioctl (d->frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd) < 0) if (ioctl (d->frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd) < 0)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment