aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-06-30 21:19:27 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-06 15:50:36 +0200
commitd92774b4ac9360235e822387a097dbcb886fbbed (patch)
treeacc91ef3eee0c803495d650d70cf8eaa973a1aa5 /src/osmo-bts-sysmo/main.c
parent359fb8caf417570856ca61d6ff90df1fc452d659 (diff)
abis: delay l1if_reset() until OML link is established
Diffstat (limited to 'src/osmo-bts-sysmo/main.c')
-rw-r--r--src/osmo-bts-sysmo/main.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index bf0d79a7..15b1f1c0 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -74,13 +74,20 @@ int bts_model_init(struct gsm_bts *bts)
bts->c0->role_bts.l1h = fl1h;
bts->c0->nominal_power = 23;
- l1if_reset(fl1h);
-
bts_model_vty_init(bts);
return 0;
}
+int bts_model_oml_estab(struct gsm_bts *bts)
+{
+ struct femtol1_hdl *fl1h = bts->c0->role_bts.l1h;
+
+ l1if_reset(fl1h);
+
+ return 0;
+}
+
/* Set the clock calibration to the value
* read from the eeprom.
*/