From a44dbc889b7030a100599d2bd2c93c976c011a03 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Fri, 11 Aug 2017 16:03:03 +0200 Subject: [PATCH] correct lock check order --- frontends/mxl5xx.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontends/mxl5xx.c b/frontends/mxl5xx.c index f284c52..6d3b6f9 100644 --- a/frontends/mxl5xx.c +++ b/frontends/mxl5xx.c @@ -576,17 +576,13 @@ static int tune(struct dvb_frontend *fe, bool re_tune, state->tune_time = jiffies; return 0; } - if (*status & FE_HAS_LOCK) - return 0; - r = read_status(fe, status); if (r) return r; - -#if 0 if (*status & FE_HAS_LOCK) return 0; +#if 0 if (p->delivery_system == SYS_DVBS) p->delivery_system = SYS_DVBS2; else