From 31cb00c77e9209763a866f400f7011b14b263088 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 2 Dec 2020 06:49:03 +0100 Subject: wip Change-Id: I5a33debf2023a20393dd137f6567807dc54000f1 --- src/common/scheduler.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/scheduler.c b/src/common/scheduler.c index 84918e31..42a0c0c3 100644 --- a/src/common/scheduler.c +++ b/src/common/scheduler.c @@ -861,8 +861,11 @@ static int rts_data_fn(struct l1sched_trx *l1t, uint8_t tn, uint32_t fn, /* For handover detection, there are cases where the SACCH should remain inactive until the first RACH * indicating the TA is received. */ if (L1SAP_IS_LINK_SACCH(link_id) - && !l1t->ts[tn].chan_state[chan].lchan->want_dl_sacch_active) + && !l1t->ts[tn].chan_state[chan].lchan->want_dl_sacch_active) { + LOGL1S(DL1P, LOGL_NOTICE, l1t, tn, chan, fn, + "SKIPPING PH-RTS.ind: chan_nr=0x%02x link_id=0x%02x\n", chan_nr, link_id); return 0; + } LOGL1S(DL1P, LOGL_DEBUG, l1t, tn, chan, fn, "PH-RTS.ind: chan_nr=0x%02x link_id=0x%02x\n", chan_nr, link_id); -- cgit v1.2.3