Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 808d24d6 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] dvb-core: don't clear stats at DTV_CLEAR



The stats are cleared by the frontend. Don't do it at DTV_CLEAR.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 340e7696
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -920,7 +920,7 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
	u32 delsys;

	delsys = c->delivery_system;
	memset(c, 0, sizeof(struct dtv_frontend_properties));
	memset(c, 0, offsetof(struct dtv_frontend_properties, strength));
	c->delivery_system = delsys;

	c->state = DTV_CLEAR;