aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2021-10-12 15:00:58 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2021-10-13 11:27:02 +0200
commitc3c62f605129b4cb56ce9707a1b2b313f88260be (patch)
tree5d279cb00f10365245930ba70da459e07911050a /src/osmo-bsc/osmo_bsc_main.c
parent314167c7992a5824ad728d63dbbba7638e1f0b4a (diff)
bts: set pwrc value in bts_alloc
The pwrc value is currently set from bootstrap_bts() in osmo_bsc_main.c. The value is set to 0. Since the BTS object is allocated using talloc it is guaranteed to be 0 from the beginning. Lets set it from bts_alloc anyway so that we have a place holder that is easy to find. Change-Id: Id76879a94cf8cf8c07e8fc7e8aa399cd50e04e9a
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 2931dcf26..757f0537e 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -510,8 +510,6 @@ static int bootstrap_bts(struct gsm_bts *bts)
bts->si_common.chan_desc.ccch_conf = (n << 1);
}
- bts->si_common.cell_options.pwrc = 0; /* PWRC not set */
-
bts->si_common.cell_sel_par.acs = 0;
bts->si_common.ncc_permitted = 0xff;