1
0
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:
Ralph Metzler 2017-08-11 16:03:03 +02:00
parent 3d5fae7dd8
commit a44dbc889b

View File

@ -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