fixeria submitted this change.

View Change

Approvals: laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
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.

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ieb5728b7a9e7d7c58449deaa5a6c4d8755b6e213
Gerrit-Change-Number: 27725
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged