diff options
Diffstat (limited to 'src/libcommon-cs/common_cs.c')
-rw-r--r-- | src/libcommon-cs/common_cs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libcommon-cs/common_cs.c b/src/libcommon-cs/common_cs.c index 7905802bf..fc9caafa0 100644 --- a/src/libcommon-cs/common_cs.c +++ b/src/libcommon-cs/common_cs.c @@ -49,20 +49,10 @@ struct gsm_network *gsm_network_init(void *ctx, if (!net) return NULL; - net->subscr_group = talloc_zero(net, struct gsm_subscriber_group); - if (!net->subscr_group) { - talloc_free(net); - return NULL; - } - if (gsm_parse_reg(net, &net->authorized_regexp, &net->authorized_reg_str, 1, &default_regexp) != 0) return NULL; - net->subscr_group->net = net; - net->auto_create_subscr = true; - net->auto_assign_exten = true; - net->country_code = country_code; net->network_code = network_code; @@ -78,8 +68,6 @@ struct gsm_network *gsm_network_init(void *ctx, net->active_calls = osmo_counter_alloc("msc.active_calls"); net->mncc_recv = mncc_recv; - net->ext_min = GSM_MIN_EXTEN; - net->ext_max = GSM_MAX_EXTEN; net->dyn_ts_allow_tch_f = true; |