[media] mb86a20s: Don't reset strength with the other stats
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 17:54:49 +0000 (14:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 19:34:52 +0000 (16:34 -0300)
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: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c

index b6cdc444fb4559f787b7ad07e36a8490de3d5255..746adadfe8d5416c6d9399995b770f6a6c01e915 100644 (file)
@@ -754,7 +754,6 @@ static int mb86a20s_reset_counters(struct dvb_frontend *fe)
 
        /* Reset the counters, if the channel changed */
        if (state->last_frequency != c->frequency) {
-               memset(&c->strength, 0, sizeof(c->strength));
                memset(&c->cnr, 0, sizeof(c->cnr));
                memset(&c->pre_bit_error, 0, sizeof(c->pre_bit_error));
                memset(&c->pre_bit_count, 0, sizeof(c->pre_bit_count));