summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-03-04 22:19:53 +0700
committerlaforge <laforge@osmocom.org>2020-03-16 10:32:42 +0000
commit9d3c2d047bf21f2d25eac3bb84064291fe5fcb9e (patch)
tree86fef28cfff9999059bda49a0f082acd97c168ab
parentc86ba0625875f1f4d4f06811374660d9f2303876 (diff)
trxcon/scheduler: do not abort on incomplete set of bursts
-rw-r--r--src/host/trxcon/sched_lchan_pdtch.c3
-rw-r--r--src/host/trxcon/sched_lchan_tchf.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/host/trxcon/sched_lchan_pdtch.c b/src/host/trxcon/sched_lchan_pdtch.c
index 8de947e6..6a684897 100644
--- a/src/host/trxcon/sched_lchan_pdtch.c
+++ b/src/host/trxcon/sched_lchan_pdtch.c
@@ -88,8 +88,7 @@ int rx_pdtch_fn(struct trx_instance *trx, struct trx_ts *ts,
lchan->meas_avg.fn % ts->mf_layout->period,
ts->mf_layout->period,
lchan_desc->name);
-
- return -1;
+ /* NOTE: do not abort here, give it a try. Maybe we're lucky ;) */
}
/* Keep the mask updated */
diff --git a/src/host/trxcon/sched_lchan_tchf.c b/src/host/trxcon/sched_lchan_tchf.c
index 018b5e45..c5362f0b 100644
--- a/src/host/trxcon/sched_lchan_tchf.c
+++ b/src/host/trxcon/sched_lchan_tchf.c
@@ -90,9 +90,8 @@ int rx_tchf_fn(struct trx_instance *trx, struct trx_ts *ts,
lchan->meas_avg.fn % ts->mf_layout->period,
ts->mf_layout->period,
lchan_desc->name);
+ /* NOTE: do not abort here, give it a try. Maybe we're lucky ;) */
- /* Send BFI */
- goto bfi;
}
/* Keep the mask updated */