As global BER stat is already summing both BER counters, it should not be incremented with its previous value. Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> --- drivers/media/dvb-frontends/mb86a20s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index 2f3e4b3..8fee4b3 100644 --- a/drivers/media/dvb-frontends/mb86a20s.c +++ b/drivers/media/dvb-frontends/mb86a20s.c @@ -994,9 +994,9 @@ static int mb86a20s_get_stats(struct dvb_frontend *fe) * bit errors on all active layers. */ c->bit_error.stat[0].scale = FE_SCALE_COUNTER; - c->bit_error.stat[0].uvalue += t_bit_error; + c->bit_error.stat[0].uvalue = t_bit_error; c->bit_count.stat[0].scale = FE_SCALE_COUNTER; - c->bit_count.stat[0].uvalue += t_bit_count; + c->bit_count.stat[0].uvalue = t_bit_count; /* All BER measures need to be collected when ready */ for (i = 0; i < 3; i++) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html