aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-04-12 17:52:38 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-05-17 16:22:27 +0200
commit17a09507b8a91c62c1b1d8d06b02b115275a4aac (patch)
treed870b4a0154264d5b7182276ba3465363b7a7dbb
parente3de64cd67bedbc024d31a3866fc45027dd0dd0d (diff)
octphy: activate CBCH after all physical channels are activated
CBCH is activated when the SAPI for TS0 is activated. Since the CBCH can be configured on any physical TS, we wait until all (TS7 is the last) physical timeslots are configured. Change-Id: Ie307bf9f370a346686e3bd8c8a8483953a1bc279
-rw-r--r--src/osmo-bts-octphy/l1_oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index c70b45fd..47274e09 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -187,7 +187,7 @@ static int opstart_compl(struct gsm_abis_mo *mo)
/* hack to auto-activate all SAPIs for the BCCH/CCCH on TS0 */
if (mo->obj_class == NM_OC_CHANNEL && mo->obj_inst.trx_nr == 0 &&
- mo->obj_inst.ts_nr == 0) {
+ mo->obj_inst.ts_nr == 7) {
struct gsm_lchan *cbch = gsm_bts_get_cbch(mo->bts);
mo->bts->c0->ts[0].lchan[CCCH_LCHAN].rel_act_kind =
LCHAN_REL_ACT_OML;