summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-05-04 18:52:32 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2016-05-04 19:05:05 +0200
commit62ee416d95711298da23e3c48019bf05e6a60299 (patch)
tree9f12b65bc7eb643f0415ab94687f05aa97d644ae
parente42a2ab158bdeb042062fb53abb59b83c5335f9a (diff)
libiu: Keep current ra_id in ue_conn_ctx
-rw-r--r--openbsc/include/openbsc/iu.h1
-rw-r--r--openbsc/src/libiu/iu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index 9cc095849..d5b9135de 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -14,6 +14,7 @@ struct ue_conn_ctx {
struct osmo_sua_link *link;
uint32_t conn_id;
int integrity_active;
+ struct gprs_ra_id ra_id;
};
enum iu_event_type {
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c
index b56f677f4..e19c62b66 100644
--- a/openbsc/src/libiu/iu.c
+++ b/openbsc/src/libiu/iu.c
@@ -327,6 +327,7 @@ static int ranap_handle_co_initial_ue(void *ctx, RANAP_InitialUE_MessageIEs_t *i
/* Make sure we know the RNC Id and LAC+RAC coming in on this connection. */
iu_rnc_register(grnc_id.rnc_id, ra_id.lac, ra_id.rac, ue_conn->link);
+ ue_conn->ra_id = ra_id;
/* Feed into the MM layer */
msg->dst = ctx;