From 20fea245150b377ec97a3e56818cfbfc6e691097 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 4 Jun 2011 19:58:26 +0200 Subject: bsc: Prepare to have multiple MSC connections We now have a list of MSCs but in the code we will try to access the MSC with the nr 0. --- openbsc/src/libcommon/gsm_data.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'openbsc/src/libcommon/gsm_data.c') diff --git a/openbsc/src/libcommon/gsm_data.c b/openbsc/src/libcommon/gsm_data.c index a731c1a34..6eb39b067 100644 --- a/openbsc/src/libcommon/gsm_data.c +++ b/openbsc/src/libcommon/gsm_data.c @@ -87,6 +87,7 @@ struct gsm_network *gsm_network_init(uint16_t country_code, uint16_t network_cod /* Init back pointer */ net->bsc_data->network = net; + INIT_LLIST_HEAD(&net->bsc_data->mscs); net->country_code = country_code; net->network_code = network_code; @@ -141,14 +142,6 @@ struct gsm_network *gsm_network_init(uint16_t country_code, uint16_t network_cod net->mncc_recv = mncc_recv; - INIT_LLIST_HEAD(&net->bsc_data->msc.dests); - net->bsc_data->msc.ping_timeout = 20; - net->bsc_data->msc.pong_timeout = 5; - net->bsc_data->msc.core_ncc = -1; - net->bsc_data->msc.core_mcc = -1; - net->bsc_data->msc.rtp_base = 4000; - net->bsc_data->msc.network = net; - gsm_net_update_ctype(net); return net; -- cgit v1.2.3