From a276a370cbf142e806c18894b8683e2a085231a6 Mon Sep 17 00:00:00 2001 From: none Date: Tue, 9 Feb 2021 17:30:48 +0100 Subject: [PATCH] always return lock with SDR mode --- ddbridge/ddbridge-sx8.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ddbridge/ddbridge-sx8.c b/ddbridge/ddbridge-sx8.c index 92177d5..dc6bf37 100644 --- a/ddbridge/ddbridge-sx8.c +++ b/ddbridge/ddbridge-sx8.c @@ -136,6 +136,10 @@ static int read_status(struct dvb_frontend *fe, enum fe_status *status) stat = ddb_mci_get_status(&state->mci, &res); if (stat) return stat; + if (sx8_base->iq_mode >= 2) { + *status = 0x1f; + return stat; + } *status = 0x00; ddb_mci_get_info(&state->mci); if (res.status == SX8_DEMOD_WAIT_MATYPE)