summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-28 16:03:05 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commit18bc7d5e064e249d8ab78226029fcf6af0aa8838 (patch)
treec52f51304fd3d9070cc86dfac48e98360d523b56 /src/host/trxcon
parent56296999963dba3a311bc5e3afcb0dd4f5ee97e5 (diff)
host/trxcon/scheduler: ignore incomplete sets of bursts
To be able to decode one xCCH message, it's required to have all set of bursts collected (4/4). Otherwise we should not even try to decode an incomplete set. Change-Id: Iaa63462efe19b8e96102fc8c8d8c968a2df2c70e
Diffstat (limited to 'src/host/trxcon')
-rw-r--r--src/host/trxcon/sched_lchan_xcch.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/host/trxcon/sched_lchan_xcch.c b/src/host/trxcon/sched_lchan_xcch.c
index 12bb6ee5..81bd3050 100644
--- a/src/host/trxcon/sched_lchan_xcch.c
+++ b/src/host/trxcon/sched_lchan_xcch.c
@@ -149,13 +149,7 @@ int rx_data_fn(struct trx_instance *trx, struct trx_ts *ts,
ts->mf_layout->period,
trx_lchan_desc[chan].name);
- /* We require first burst to have correct FN */
- if (!(*mask & 0x1)) {
- *mask = 0x0;
- return 0;
- }
-
- /* FIXME: return from here? */
+ return -1;
}
/* Attempt to decode */