Commit 8b8e444a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] mb86a20s: Don't reset strength with the other stats

Signal strength is always available. There's no reason to reset
it, as it has its own logic to reset it already.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a78b41d5
...@@ -754,7 +754,6 @@ static int mb86a20s_reset_counters(struct dvb_frontend *fe) ...@@ -754,7 +754,6 @@ static int mb86a20s_reset_counters(struct dvb_frontend *fe)
/* Reset the counters, if the channel changed */ /* Reset the counters, if the channel changed */
if (state->last_frequency != c->frequency) { if (state->last_frequency != c->frequency) {
memset(&c->strength, 0, sizeof(c->strength));
memset(&c->cnr, 0, sizeof(c->cnr)); memset(&c->cnr, 0, sizeof(c->cnr));
memset(&c->pre_bit_error, 0, sizeof(c->pre_bit_error)); memset(&c->pre_bit_error, 0, sizeof(c->pre_bit_error));
memset(&c->pre_bit_count, 0, sizeof(c->pre_bit_count)); memset(&c->pre_bit_count, 0, sizeof(c->pre_bit_count));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment