aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libdvbv5/dvb-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdvbv5/dvb-fe.c')
-rw-r--r--lib/libdvbv5/dvb-fe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c
index b0b8f595..1e29c9f0 100644
--- a/lib/libdvbv5/dvb-fe.c
+++ b/lib/libdvbv5/dvb-fe.c
@@ -705,9 +705,8 @@ int __dvb_fe_get_parms(struct dvb_v5_fe_parms *p)
/* copy back params from temporary fe_prop */
for (i = 0; i < n; i++) {
- if (dvb_fe_is_satellite(p->current_sys)
- && fe_prop[i].cmd == DTV_FREQUENCY)
- fe_prop[i].u.data += parms->freq_offset;
+ if (fe_prop[i].cmd == DTV_FREQUENCY)
+ fe_prop[i].u.data = dvb_sat_real_freq(p, fe_prop[i].u.data);
dvb_fe_store_parm(&parms->p, fe_prop[i].cmd, fe_prop[i].u.data);
}

Privacy Policy