diff --git a/frontends/stv0910.c b/frontends/stv0910.c index 8d3cbeb..2b4223d 100644 --- a/frontends/stv0910.c +++ b/frontends/stv0910.c @@ -1362,6 +1362,7 @@ static int read_status(struct dvb_frontend *fe, fe_status_t *status) u32 ber; s32 foff; + *status = 0; get_frequency_offset(state, &foff); read_signal_strength(fe, &val); @@ -1381,7 +1382,6 @@ static int read_status(struct dvb_frontend *fe, fe_status_t *status) if (CurReceiveMode == Mode_None) { set_vth(state); //if( Time >= m_DemodTimeout ) *pLockStatus = NEVER_LOCK; - *status = 0; return 0; } *status |= 0x0f;