aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-07 14:44:04 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-08 01:38:57 +0100
commit4d5bc18660c49ab053b1dc260cfba62e44f8d3cd (patch)
tree7e0505c16c35e2c47ed7de80550a567e4d9a6cff
parent8f87cea9d600d36848ddf3087e6601e12f0e7cef (diff)
libmsc: store classmark1 in gsm_subscriber_connection
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 5e7bc544a..09f8df1eb 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -138,6 +138,7 @@ struct gsm_subscriber_connection {
struct osmo_timer_list T10; /* BSC */
struct gsm_lchan *secondary_lchan; /* BSC */
+ struct gsm48_classmark1 classmark1;
};
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 8eaa4508e..ab0f6a67e 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -498,6 +498,7 @@ static int mm_rx_loc_upd_req(struct gsm_subscriber_connection *conn, struct msgb
/* increase conn ref count for the LU FSM */
subscr_con_get(conn);
+ conn->classmark1 = lu->classmark1;
//FIXME conn->subscr->equipment.classmark1 = lu->classmark1;
return 0;