From 5ed590a3c7d7b5ce5542d432fba0c77fffd3e416 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Mon, 31 Aug 2015 20:47:19 +0200 Subject: [PATCH] fix reference to struct --- frontends/mxl5xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/mxl5xx.c b/frontends/mxl5xx.c index 9cb99a8..f33d778 100644 --- a/frontends/mxl5xx.c +++ b/frontends/mxl5xx.c @@ -585,7 +585,7 @@ static int sleep(struct dvb_frontend *fe) if (p->tuner_in_use == state->tuner) break; } - if (p == &state->base->mxls) + if (&p->mxl == &state->base->mxls) enable_tuner(state, state->tuner, 0); mutex_unlock(&state->base->tune_lock); }