diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-18 02:13:41 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-18 05:20:25 +0700 |
commit | 15d512d301545e10f69ade0562d5ea86832066b4 (patch) | |
tree | 98a0c277737359a2cad47b31da8fc65155f8a4cd /src/host/trxcon/sched_lchan_tchf.c | |
parent | e17bb11c3b29919799b3637dece1c7c0273af304 (diff) |
trxcon/scheduler: separate primitive management code
It's good to write, keep and make the source code as much modular
as possible. So, Tte primitive management code was separated to
the 'sched_prim.c' and going to be extended in the near future.
Change-Id: Ifec8c9e4f2c95c72b00772688bcb5dc9c11d6de7
Diffstat (limited to 'src/host/trxcon/sched_lchan_tchf.c')
-rw-r--r-- | src/host/trxcon/sched_lchan_tchf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/trxcon/sched_lchan_tchf.c b/src/host/trxcon/sched_lchan_tchf.c index 7860007c..da24b238 100644 --- a/src/host/trxcon/sched_lchan_tchf.c +++ b/src/host/trxcon/sched_lchan_tchf.c @@ -217,7 +217,7 @@ int tx_tchf_fn(struct trx_instance *trx, struct trx_ts *ts, } /* Get a message from TX queue */ - prim = sched_dequeue_tch_prim(&ts->tx_prims); + prim = sched_prim_dequeue_tch(&ts->tx_prims); l2 = (uint8_t *) prim->payload; /* Determine payload length */ |