osmo-bts-trx: rx_tchh_fn(): do not calculate BER10k for FACCH twice

We already have BER10k calculated in the generic code path, so do
not calculate it once again in the FACCH specific branch.

Change-Id: I5d3955d09990e280d11d687385eeaf5edf437395
This commit is contained in:
Vadim Yanitskiy 2022-03-11 10:54:22 +03:00 committed by fixeria
parent dc17d1036b
commit 79aaec8f01
1 changed files with 0 additions and 1 deletions

View File

@ -269,7 +269,6 @@ int rx_tchh_fn(struct l1sched_ts *l1ts, const struct trx_ul_burst_ind *bi)
/* FACCH */
if (rc == GSM_MACBLOCK_LEN) {
chan_state->ul_ongoing_facch = 1;
uint16_t ber10k = compute_ber10k(n_bits_total, n_errors);
if (lchan->nr == 0)
fn_begin = gsm0502_fn_remap(bi->fn, FN_REMAP_FACCH_H0);
else