fixeria submitted this change.
l1sap: l1sap_chan_act(): alloc DTX FSM only for TCH
Change-Id: Ieb5728b7a9e7d7c58449deaa5a6c4d8755b6e213
---
M src/common/l1sap.c
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 502bcef..6ef5e3b 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1947,7 +1947,7 @@
return -RSL_ERR_EQUIPMENT_FAIL;
/* Init DTX DL FSM if necessary */
- if (trx->bts->dtxd && lchan->type != GSM_LCHAN_SDCCH) {
+ if (trx->bts->dtxd && lchan_is_tch(lchan)) {
lchan->tch.dtx.dl_amr_fsm = osmo_fsm_inst_alloc(&dtx_dl_amr_fsm,
tall_bts_ctx,
lchan,
To view, visit change 27725. To unsubscribe, or for help writing mail filters, visit settings.