diff options
Diffstat (limited to 'openbsc/src/osmo-bsc')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_main.c | 2 | ||||
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_msc.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c index 02b68d39f..6e34105ab 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_main.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c @@ -443,7 +443,7 @@ int main(int argc, char **argv) } } - if (osmo_bsc_msc_init(bsc_gsmnet) != 0) { + if (osmo_bsc_msc_init(&bsc_gsmnet->bsc_data->msc) != 0) { LOGP(DNAT, LOGL_ERROR, "Failed to start up. Exiting.\n"); exit(1); } diff --git a/openbsc/src/osmo-bsc/osmo_bsc_msc.c b/openbsc/src/osmo-bsc/osmo_bsc_msc.c index 64f28008a..1ed0199c3 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_msc.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_msc.c @@ -430,10 +430,8 @@ static void send_id_get_response(struct osmo_msc_data *data, int fd) msc_queue_write(data->msc_con, msg, IPAC_PROTO_IPACCESS); } -int osmo_bsc_msc_init(struct gsm_network *network) +int osmo_bsc_msc_init(struct osmo_msc_data *data) { - struct osmo_msc_data *data = &network->bsc_data->msc; - if (mgcp_create_port(data) != 0) return -1; |