]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: fix parameter order and len for linuxdvb_diseqc_raw_send()
authorJaroslav Kysela <perex@perex.cz>
Thu, 22 Sep 2016 18:42:21 +0000 (20:42 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 22 Sep 2016 18:42:21 +0000 (20:42 +0200)
src/input/mpegts/linuxdvb/linuxdvb_en50494.c

index d7ce5f32769eb5351b15bc7ec57bd5b3a0ad0d0a..2dbd0bb68f0b712d6b2b20554166dde28a288665 100644 (file)
@@ -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) {