summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_trx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/trxcon/sched_trx.c')
-rw-r--r--src/host/trxcon/sched_trx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c
index 3e615825..cf05bb66 100644
--- a/src/host/trxcon/sched_trx.c
+++ b/src/host/trxcon/sched_trx.c
@@ -423,9 +423,9 @@ int sched_trx_handle_rx_burst(struct trx_instance *trx, uint8_t tn,
uint32_t fn, elapsed;
uint8_t offset, bid;
- /* Check whether required timeslot is enabled / configured */
+ /* Check whether required timeslot is allocated and configured */
ts = sched_trx_find_ts(trx, tn);
- if (ts == NULL) {
+ if (ts == NULL || ts->mf_layout == NULL) {
LOGP(DSCH, LOGL_DEBUG, "TDMA timeslot #%u isn't configured, "
"ignoring burst...\n", tn);
return -EINVAL;