diff options
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index 73ba050ab..2a4c2c863 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -583,8 +583,8 @@ static int dvb_frontend_thread (void *data) // clean setup if (fe->state & FESTATE_CLEAN_SETUP) { - if ((clean_setup_count < 10) && (!(s & FE_LOCK))) { - dvb_internal_ioctl(&fe->frontend, FE_RESET, NULL); + if ((clean_setup_count < 10) && (!(s & FE_HAS_LOCK))) { + dvb_frontend_internal_ioctl(&fe->frontend, FE_RESET, NULL); } else { // return to tuning state fe->state = FESTATE_TUNING_FAST; |