diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-04-11 05:58:24 +0300 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2022-04-13 15:03:20 +0000 |
commit | 7af62e2d0ffd68102445b13b817a5db910e3cd41 (patch) | |
tree | 4a3aa90202096f7af8832e190fef8d0e9e09b963 | |
parent | 9ae443d368c2f3fcb3e2fca38983fd37922faeb2 (diff) |
l1sap: l1sap_chan_act(): alloc DTX FSM only for TCH
Change-Id: Ieb5728b7a9e7d7c58449deaa5a6c4d8755b6e213
-rw-r--r-- | src/common/l1sap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index 502bcef5..6ef5e3bd 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -1947,7 +1947,7 @@ int l1sap_chan_act(struct gsm_bts_trx *trx, uint8_t chan_nr, struct tlv_parsed * 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, |