diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-22 19:25:58 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-04-11 20:45:32 +0200 |
commit | edafdc14f3cf0b9714932bce3faf2751f370663d (patch) | |
tree | 34d1d26eddb3ea03d7585e370c26bc4805fdf703 /openbsc/src/osmo-cscn/cscn_main.c | |
parent | 54fc3a13183e4d5956c8c17b74caf7ef21febe0a (diff) |
cscn: record and use LAC on incoming InitialUE msg
Add lac argument to gsm0408_rcvmsg_iucs(), to record the LAC in newly
allocated gsm_subscriber_connections.
In effect, fix the LAC sent to UE during Location Updating Accept message.
Before, 0 was stored as LAC and sent to the UE, regardless of the actual
LAC in use.
Diffstat (limited to 'openbsc/src/osmo-cscn/cscn_main.c')
-rw-r--r-- | openbsc/src/osmo-cscn/cscn_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c index 2b1b505a6..50f7ddbbb 100644 --- a/openbsc/src/osmo-cscn/cscn_main.c +++ b/openbsc/src/osmo-cscn/cscn_main.c @@ -321,7 +321,7 @@ static int rcvmsg_iu_cs(struct msgb *msg, struct gprs_ra_id *ra_id, /* FIXME gpr { DEBUGP(DIUCS, "got Iu-CS message: %s\n", osmo_hexdump(msg->data, msg->len)); - return gsm0408_rcvmsg_iucs(cscn_network, msg); + return gsm0408_rcvmsg_iucs(cscn_network, msg, ra_id? &ra_id->lac : NULL); } static int rx_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type, |