aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/net_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libbsc/net_init.c')
-rw-r--r--src/libbsc/net_init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libbsc/net_init.c b/src/libbsc/net_init.c
index e44c335d1..d5ea5b275 100644
--- a/src/libbsc/net_init.c
+++ b/src/libbsc/net_init.c
@@ -47,8 +47,10 @@ struct gsm_network *bsc_network_init(void *ctx)
if (!net)
return NULL;
- net->country_code = 1;
- net->network_code = 1;
+ net->plmn = (struct osmo_plmn_id){
+ .mcc = 1,
+ .mnc = 1,
+ };
/* Permit a compile-time default of A5/3 and A5/1 */
net->a5_encryption_mask = (1 << 3) | (1 << 1);