diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-27 10:27:53 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-27 10:44:17 +0100 |
commit | 1ba0730a7109b06e4043e7b17c11d8d2c34358c5 (patch) | |
tree | ec4153db9e0fc5ff6f822e22b4360d0a8bf7e596 /openbsc/src/libbsc/net_init.c | |
parent | 120250ad6fe8d2b641b716d5b37d48b125db23ca (diff) |
nitb: Allow the network to decide if a subscriber should be created
Diffstat (limited to 'openbsc/src/libbsc/net_init.c')
-rw-r--r-- | openbsc/src/libbsc/net_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/net_init.c b/openbsc/src/libbsc/net_init.c index 5bb8ae2b6..568a0b85e 100644 --- a/openbsc/src/libbsc/net_init.c +++ b/openbsc/src/libbsc/net_init.c @@ -46,7 +46,9 @@ struct gsm_network *gsm_network_init(uint16_t country_code, uint16_t network_cod 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; |