diff options
-rw-r--r-- | src/host/trxcon/sched_trx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c index 37d1acf6..eb6f3dc0 100644 --- a/src/host/trxcon/sched_trx.c +++ b/src/host/trxcon/sched_trx.c @@ -264,6 +264,8 @@ int sched_trx_configure_ts(struct trx_instance *trx, int tn, /* Choose proper multiframe layout */ ts->mf_layout = sched_mframe_layout(config, tn); + if (!ts->mf_layout) + return -EINVAL; if (ts->mf_layout->chan_config != config) return -EINVAL; |