aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-06-08 01:49:53 +0200
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-06-08 01:53:14 +0200
commit628853de747d4b4e2797cc1af85bd9697aeecdcc (patch)
tree909ad13a633d8749ae63992c4731a8f657409f29
parent177799fe7eb00154e0a6b415b409e57e2b8ddb4e (diff)
conf_lchans_as_pchan(): fix GSM_LCHAN_{CCCH->CBCH} regression
This regression was introduced (by me) in [1] and broke CCCH. Change-Id: I403ad06574a8505b69dd06781f7fe0f7cabf416f Fixes: [1] I1c5a033e89d9ca5fb01ebe9ffb521fd67d159bee Related: SYS#4895, OS#4941
-rw-r--r--src/common/oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 0e7fbd56..6acc6b1d 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -834,7 +834,7 @@ int conf_lchans_as_pchan(struct gsm_bts_trx_ts *ts,
ts->lchan[2].type = GSM_LCHAN_CBCH;
/* fallthrough */
case GSM_PCHAN_CCCH:
- ts->lchan[CCCH_LCHAN].type = GSM_LCHAN_CBCH;
+ ts->lchan[CCCH_LCHAN].type = GSM_LCHAN_CCCH;
break;
case GSM_PCHAN_TCH_F:
if (ts->vamos.peer != NULL) { /* VAMOS: enable shadow lchans */