summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-05-28 07:10:48 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-05-28 07:12:09 +0700
commita42f2ef12717271e7743ab5f8877e9b9ea142b13 (patch)
tree661b8e3c3f6d5c12873d66b278f7cf3c4489749f
parent923c19a883bf174c3e2dab58ba311ec0a89ec12b (diff)
trxcon/sched_trx.c: add missing branch for GSM_PCHAN_PDCH
PDCH channel support was introduced quite a while ago, but there was no way to activate it via L1CTL so far. Let's fix this. Change-Id: I3b66cab26108ab999a7fe969365ab57dc661399c
-rw-r--r--src/host/trxcon/sched_trx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/trxcon/sched_trx.c b/src/host/trxcon/sched_trx.c
index 4c93a3c4..62fe8703 100644
--- a/src/host/trxcon/sched_trx.c
+++ b/src/host/trxcon/sched_trx.c
@@ -543,6 +543,8 @@ enum gsm_phys_chan_config sched_trx_chan_nr2pchan_config(uint8_t chan_nr)
return GSM_PCHAN_CCCH_SDCCH4_CBCH;
else if ((cbits & 0x1f) == ABIS_RSL_CHAN_NR_CBITS_OSMO_CBCH8)
return GSM_PCHAN_SDCCH8_SACCH8C_CBCH;
+ else if ((cbits & 0x1f) == ABIS_RSL_CHAN_NR_CBITS_OSMO_PDCH)
+ return GSM_PCHAN_PDCH;
return GSM_PCHAN_NONE;
}