From: Jaroslav Kysela Date: Thu, 22 Sep 2016 18:42:21 +0000 (+0200) Subject: linuxdvb: fix parameter order and len for linuxdvb_diseqc_raw_send() X-Git-Tag: v4.2.1~302 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d75255cc605b17680a073bf5c3f0b3838dc8003d;p=thirdparty%2Ftvheadend.git linuxdvb: fix parameter order and len for linuxdvb_diseqc_raw_send() --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_en50494.c b/src/input/mpegts/linuxdvb/linuxdvb_en50494.c index d7ce5f327..2dbd0bb68 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_en50494.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_en50494.c @@ -357,14 +357,12 @@ linuxdvb_en50494_tune 2, data1, data2); } else if (ver2 && le->le_pin != LINUXDVB_EN50494_NOPIN) { - ret = linuxdvb_diseqc_raw_send(fd, + ret = linuxdvb_diseqc_raw_send(fd, 5, LINUXDVB_EN50607_FRAME_MULTIHOME, - 4, data1, data2, data3, (uint8_t)le->le_pin); } else if (ver2) { - ret = linuxdvb_diseqc_raw_send(fd, + ret = linuxdvb_diseqc_raw_send(fd, 4, LINUXDVB_EN50607_FRAME_NORMAL, - 3, data1, data2, data3); } if (ret != 0) {