Commit 8ca3eb9b 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>
(cherry picked from commit cfb1f18e)
parent 7b2fee05
......@@ -703,6 +703,7 @@ known:
| ((voltage == SEC_VOLTAGE_18) << 1) /* polarization */
| (tone == SEC_TONE_ON); /* option */
cmd.msg[4] = cmd.msg[5] = 0; /* unused */
cmd.msg_len = 4; /* length*/
msleep (15000); /* wait 15 ms before DiSEqC command */
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