summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 37661519c..e36d5e8e2 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -1659,7 +1659,7 @@ static int ttusb_dec_3000s_frontend_ioctl(struct dvb_frontend *fe,
p->u.qam.symbol_rate);
dprintk(" inversion->%d\n", p->inversion);
- freq = htonl(p->frequency * 1000 +
+ freq = htonl(p->frequency +
(dec->hi_band ? LOF_HI : LOF_LO));
memcpy(&b[4], &freq, sizeof(u32));
sym_rate = htonl(p->u.qam.symbol_rate);