commit | d3af8021b4bc0e70ec2f7f491698154c445ef071 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Jan 27 10:27:53 2015 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Jan 27 10:44:17 2015 +0100 |
tree | ec4153db9e0fc5ff6f822e22b4360d0a8bf7e596 | |
parent | 3b34dc5253530975733e791124197638c40aa841 [diff] [blame] |
nitb: Allow the network to decide if a subscriber should be created
diff --git a/openbsc/src/libbsc/net_init.c b/openbsc/src/libbsc/net_init.c index 5bb8ae2..568a0b8 100644 --- a/openbsc/src/libbsc/net_init.c +++ b/openbsc/src/libbsc/net_init.c
@@ -46,7 +46,9 @@ net->bsc_data->auto_off_timeout = -1; net->bsc_data->network = net; INIT_LLIST_HEAD(&net->bsc_data->mscs); + net->subscr_group->net = net; + net->create_subscriber = 1; net->country_code = country_code; net->network_code = network_code;