summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-28 16:03:05 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-10-23 22:05:49 +0330
commit0067c2cde269081ee8951e607a6c6025e7fc6c42 (patch)
tree3506acf96d9973baa840444a63a530ae15cfc359
parentb743b60d7613c224d509725d2096aaea5aad74ef (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
-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 12bb6ee..81bd305 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 */