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
This commit is contained in:
Vadim Yanitskiy 2019-09-07 00:49:18 +02:00 committed by fixeria
parent 9d5acaad5c
commit 454b034521
1 changed files with 0 additions and 1 deletions

View File

@ -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: