diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-04 19:58:26 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2011-11-04 12:27:08 +0100 |
commit | 9a7df6a6a3acc98fc9c48e4dcfbeba4372856402 (patch) | |
tree | 47f146026284f9399aebaa981755b68c2d73cc1f /openbsc/src/libcommon | |
parent | 9f56f8d3257962ae1e2fbd927d181cfbaf516434 (diff) |
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.
Diffstat (limited to 'openbsc/src/libcommon')
-rw-r--r-- | openbsc/src/libcommon/gsm_data.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/openbsc/src/libcommon/gsm_data.c b/openbsc/src/libcommon/gsm_data.c index 513055bdb..3ad673623 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; |