summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_trx.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-09-28 02:47:54 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-09-28 02:47:54 +0700
commitbde71c180a3af5b61d7ea59cf494e385c864a2f1 (patch)
tree3806c6baf47e0a6cdf73432e955071d1fb7c5199 /src/host/trxcon/sched_trx.c
parentc572682e79427a984300e9a6cdfae544776b1c71 (diff)
trxcon/scheduler: pass lchan state to sched_prim_dequeue()
Having access to a logical channel state is required by the follow-up change, which will introduce a separate function for dequeuing SACCH primitives. Change-Id: Ibde0acf8e6be224b1007be707a636eaad68c8d36
Diffstat (limited to 'src/host/trxcon/sched_trx.c')
-rw-r--r--src/host/trxcon/sched_trx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c
index 023764dc..fc29998d 100644
--- a/src/host/trxcon/sched_trx.c
+++ b/src/host/trxcon/sched_trx.c
@@ -95,7 +95,7 @@ static void sched_frame_clck_cb(struct trx_sched *sched)
* attempt to obtain a new one from queue
*/
if (lchan->prim == NULL)
- lchan->prim = sched_prim_dequeue(&ts->tx_prims, fn, chan);
+ lchan->prim = sched_prim_dequeue(&ts->tx_prims, fn, lchan);
/* TODO: report TX buffers health to the higher layers */