Skip to content

Commit

Permalink
V4L/DVB (9406): Really silly bug, setting bandwidth into frequency
Browse files Browse the repository at this point in the history
probably should stop fiddling with code late nights. :-(

Thanks to Marco for pointing it out and fixing it.

Signed-off-by: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Marko Schluessler authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent e99d00c commit 421b297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/ttpci/budget-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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;
}

Expand Down

0 comments on commit 421b297

Please sign in to comment.