From d6fb23523acd423e2d5735f3efdf479ebb8b1f8b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 7 Jan 2010 14:36:20 +0100 Subject: [bssap] Fix brown paper bag... Keep the air id ...*sigh* We want to use the real number on the Um... Using the core network code is totally wrong in this scope... --- openbsc/src/bssap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index 94e55a6c5..ae24a896e 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -576,8 +576,8 @@ int dtap_rcvmsg(struct gsm_lchan *lchan, struct msgb *msg, unsigned int length) if (gh->msg_type == GSM48_MT_MM_LOC_UPD_ACCEPT) { struct gsm_network *net = gsm48->trx->bts->network; struct gsm48_loc_area_id *lai = (struct gsm48_loc_area_id *) &gh->data[0]; - gsm0408_generate_lai(lai, get_country_code_for_msc(net), - get_network_code_for_msc(net), + gsm0408_generate_lai(lai, net->country_code, + net->network_code, gsm48->trx->bts->location_area_code); } } -- cgit v1.2.3