aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-09-07 00:49:18 +0200
committerfixeria <axilirator@gmail.com>2019-09-07 23:05:22 +0000
commit454b0345216a9b8026db2c54699d61b74664f08b (patch)
tree3c953f2a81c296d69cccbc2b2aab6844ba71040a /src
parent9d5acaad5c8c43ebb5e37484040ca1e9c1d56f59 (diff)
osmo-bts-trx/scheduler: fix tx_tch_common(): do not send AMR BFI twice
We call _sched_compose_tch_ind() after the switch statement, so there is no need to send it from case 'GSM48_CMODE_SPEECH_AMR'. Change-Id: I0488082494120157ac438d7763b52e3998f0eac7
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 1a60443a..57eb1384 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -389,7 +389,6 @@ static void tx_tch_common(struct l1sched_trx *l1t, uint8_t tn, uint32_t fn,
return;
}
memset(tch_data + 2, 0, len - 2);
- _sched_compose_tch_ind(l1t, tn, fn, chan, tch_data, len);
break;
default:
inval_mode1: