aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_api.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_api.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_api.c b/openbsc/src/osmo-bsc/osmo_bsc_api.c
index d02b0b5e4..9cb0f9ee3 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_api.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_api.c
@@ -1,5 +1,5 @@
-/* (C) 2009-2010 by Holger Hans Peter Freyther <zecke@selfish.org>
- * (C) 2009-2010 by On-Waves
+/* (C) 2009-2011 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2009-2011 by On-Waves
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
@@ -47,15 +47,15 @@
static uint16_t get_network_code_for_msc(struct gsm_network *net)
{
- if (net->msc_data->core_ncc != -1)
- return net->msc_data->core_ncc;
+ if (net->bsc_data->msc.core_ncc != -1)
+ return net->bsc_data->msc.core_ncc;
return net->network_code;
}
static uint16_t get_country_code_for_msc(struct gsm_network *net)
{
- if (net->msc_data->core_mcc != -1)
- return net->msc_data->core_mcc;
+ if (net->bsc_data->msc.core_mcc != -1)
+ return net->bsc_data->msc.core_mcc;
return net->country_code;
}