dtv: fix DVB-T2 tuning
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Jan 2014 17:33:06 +0000 (19:33 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 8 Feb 2014 16:05:53 +0000 (17:05 +0100)
(cherry picked from commit d2b076e1beacffac1b43b63f1d175ecebe0a1325)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
modules/access/dtv/linux.c

index 86850f8..32a8374 100644 (file)
@@ -871,7 +871,7 @@ int dvb_set_dvbt2 (dvb_device_t *d, uint32_t freq, const char *modstr,
 
     if (dvb_find_frontend (d, DVB_T2))
         return -1;
-    return dvb_set_props (d, 8, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_DVBT2,
+    return dvb_set_props (d, 9, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_DVBT2,
                           DTV_FREQUENCY, freq, DTV_MODULATION, mod,
                           DTV_INNER_FEC, fec, DTV_BANDWIDTH_HZ, bandwidth,
                           DTV_TRANSMISSION_MODE, transmit_mode,