SYS_DVBS can have other modulation, ex: PSK_8 which will not work without this fix

This commit is contained in:
Dani Louca 2014-03-05 23:16:51 -05:00 committed by Adam Sutton
parent 7586add2c1
commit 5c7b5bb351

View file

@ -828,11 +828,10 @@ linuxdvb_frontend_tune0
S2CMD(DTV_SYMBOL_RATE, p->u.qpsk.symbol_rate);
S2CMD(DTV_INNER_FEC, p->u.qpsk.fec_inner);
S2CMD(DTV_PILOT, dmc->dmc_fe_pilot);
S2CMD(DTV_MODULATION, dmc->dmc_fe_modulation);
if (lm->lm_tuning.dmc_fe_delsys == SYS_DVBS) {
S2CMD(DTV_MODULATION, QPSK);
S2CMD(DTV_ROLLOFF, ROLLOFF_35);
} else {
S2CMD(DTV_MODULATION, dmc->dmc_fe_modulation);
S2CMD(DTV_ROLLOFF, dmc->dmc_fe_rolloff);
}