aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-10-09 22:35:46 +0200
committerHarald Welte <laforge@gnumonks.org>2013-10-09 22:35:46 +0200
commit5c0e7b1f2ce3fade6d53fe406c8c16960c480200 (patch)
tree810554452570b4b33979ee54131429c879ac22ef /src/osmo-bts-sysmo/main.c
parente843f808328c51c32983c4f7a0a6b4d4b2a5525a (diff)
sysmobts: don't call sysmobts_get_nominal_power() twice
... no need for that
Diffstat (limited to 'src/osmo-bts-sysmo/main.c')
-rw-r--r--src/osmo-bts-sysmo/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index 9e89eb8a..5a7c8122 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -81,7 +81,7 @@ int bts_model_init(struct gsm_bts *bts)
"ansmit power\n");
return -EIO;
}
- bts->c0->nominal_power = sysmobts_get_nominal_power(bts->c0);
+ bts->c0->nominal_power = rc;
bts_model_vty_init(bts);