提交 421b2970 编写于 作者: M Marko Schluessler 提交者: Mauro Carvalho Chehab

V4L/DVB (9406): Really silly bug, setting bandwidth into frequency

probably should stop fiddling with code late nights. :-(

Thanks to Marco for pointing it out and fixing it.
Signed-off-by: NMarko Schluessler <marco@lordzodiac.de>
Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 e99d00cb
......@@ -1633,7 +1633,7 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
struct tuner_state t_state;
int err = 0;
t_state.frequency = bandwidth;
t_state.bandwidth = bandwidth;
if (&fe->ops)
frontend_ops = &fe->ops;
if (&frontend_ops->tuner_ops)
......@@ -1644,7 +1644,7 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
return err;
}
}
printk("%s: Bandwidth=%d\n", __func__, t_state.frequency);
printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册