host/trxcon/scheduler: fix TS index in sched_trx_configure_ts()
TS index was not assigned after allocation of a new one. Change-Id: I1b62218f863acf27fb1d1f46b273b345b97d33d8
This commit is contained in:
parent
ae62021dc9
commit
283fb5879c
|
@ -223,6 +223,9 @@ int sched_trx_configure_ts(struct trx_instance *trx, int ts_num,
|
|||
ts = sched_trx_add_ts(trx, ts_num);
|
||||
if (ts == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
/* Assign TS index */
|
||||
ts->index = ts_num;
|
||||
}
|
||||
|
||||
/* Init queue primitives for TX */
|
||||
|
|
Loading…
Reference in New Issue