diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 11:52:51 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 12:04:34 +0800 |
commit | 43b0909394e78d908038495f98d9b51739b01213 (patch) | |
tree | 74404610204fa11cc19ec17de1b1b8ff7a797317 /openbsc/src/bsc_init.c | |
parent | 9c595b74742a0bee332c8b150d6832662a005c03 (diff) |
bsc_api: Create osmo_msc, and initialize the MSC API in the bsc_init.
Diffstat (limited to 'openbsc/src/bsc_init.c')
-rw-r--r-- | openbsc/src/bsc_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index 55bb882f1..ddb53ba04 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c @@ -27,6 +27,7 @@ #include <openbsc/abis_nm.h> #include <openbsc/debug.h> #include <openbsc/misdn.h> +#include <openbsc/osmo_msc.h> #include <osmocom/vty/telnet_interface.h> #include <openbsc/system_information.h> #include <openbsc/paging.h> @@ -1081,6 +1082,7 @@ int bsc_bootstrap_network(int (*mncc_recv)(struct gsm_network *, int, void *), bsc_gsmnet->name_long = talloc_strdup(bsc_gsmnet, "OpenBSC"); bsc_gsmnet->name_short = talloc_strdup(bsc_gsmnet, "OpenBSC"); + bsc_api_init(bsc_gsmnet, msc_bsc_api()); /* our vty command code expects vty->priv to point to a telnet_connection */ dummy_conn.priv = bsc_gsmnet; |