diff options
Diffstat (limited to 'src/host/trxcon/sched_trx.c')
-rw-r--r-- | src/host/trxcon/sched_trx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c index 6bb662db..b7914b62 100644 --- a/src/host/trxcon/sched_trx.c +++ b/src/host/trxcon/sched_trx.c @@ -640,7 +640,7 @@ int sched_trx_handle_rx_burst(struct trx_instance *trx, uint8_t tn, * start counting from last fn + 1 */ if (elapsed < 10) - fn = TDMA_FN_INC(ts->mf_last_fn); + fn = TDMA_FN_SUM(ts->mf_last_fn, 1); else fn = burst_fn; @@ -682,7 +682,7 @@ next_frame: if (fn == burst_fn) break; - fn = TDMA_FN_INC(fn); + TDMA_FN_INC(&fn); } /* Set last processed frame number */ |