diff options
author | Manu Abraham <manu@linuxtv.org> | 2008-01-19 03:09:52 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2008-01-19 03:09:52 +0400 |
commit | d22b293bacbccd52aac5b48b97a4483b039f7573 (patch) | |
tree | db959fb18e2c81347056275140bbd97b16242f93 /linux/drivers/media/dvb/frontends | |
parent | ea19b3dbcf91a0523f0247eecf60954a032b55fc (diff) | |
download | mediapointer-dvb-s2-d22b293bacbccd52aac5b48b97a4483b039f7573.tar.gz mediapointer-dvb-s2-d22b293bacbccd52aac5b48b97a4483b039f7573.tar.bz2 |
Bug Fix an overflow in bandwidth calculation
From: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb0899_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c index 9067240ce..b2aad669a 100644 --- a/linux/drivers/media/dvb/frontends/stb0899_drv.c +++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c @@ -1634,7 +1634,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa /* What to do for tuners having no bandwidth setup ? */ if (state->config->tuner_set_bandwidth) - state->config->tuner_set_bandwidth(fe, (135 * (stb0899_carr_width(state) + SearchRange)) / 100); + state->config->tuner_set_bandwidth(fe, (13 * (stb0899_carr_width(state) + SearchRange)) / 10); if (state->config->tuner_get_bandwidth) state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); /* Set DVB-S1 AGC */ |