fixeria has uploaded this change for review.

View 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(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/25/27725/1
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: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: newchange