mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
correct lock check order
This commit is contained in:
parent
3d5fae7dd8
commit
a44dbc889b
@ -576,17 +576,13 @@ static int tune(struct dvb_frontend *fe, bool re_tune,
|
|||||||
state->tune_time = jiffies;
|
state->tune_time = jiffies;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (*status & FE_HAS_LOCK)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
r = read_status(fe, status);
|
r = read_status(fe, status);
|
||||||
if (r)
|
if (r)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (*status & FE_HAS_LOCK)
|
if (*status & FE_HAS_LOCK)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (p->delivery_system == SYS_DVBS)
|
if (p->delivery_system == SYS_DVBS)
|
||||||
p->delivery_system = SYS_DVBS2;
|
p->delivery_system = SYS_DVBS2;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user