aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/main.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-03 05:44:16 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-03 05:44:28 +0700
commitffbe63f4089e384ae0b49e38bb92e69dc7204ff0 (patch)
treee76771caae9b2f4345e703c09a552c9fc6b6aa1d /src/osmo-bts-sysmo/main.c
parent5c7b7090271fb5b88e68066bb681ce6cda88dc9f (diff)
fixup: vty: call bts_model_vty_init() from bts_vty_init()
Now bts_model_vty_init() must be called only once, otherwise the process would crash when bts_model_init() is called from main(). Change-Id: I262c39896b5db86c54ad9aa7042c7ca6657815d9 Related: SYS#4937, OS#3036
Diffstat (limited to 'src/osmo-bts-sysmo/main.c')
-rw-r--r--src/osmo-bts-sysmo/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index 9befcda8..2057a051 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -80,8 +80,6 @@ int bts_model_init(struct gsm_bts *bts)
bts_internal_flag_set(bts, BTS_INTERNAL_FLAG_MS_PWR_CTRL_DSP);
bts_internal_flag_set(bts, BTS_INTERNAL_FLAG_MEAS_PAYLOAD_COMB);
- bts_model_vty_init(bts);
-
return 0;
}