aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-09 22:33:01 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-26 02:25:46 +0200
commit5e0b0a658fdc8d42de434eb1939352c55eeed30f (patch)
treefa71aab4e2c26e4e2a09d56ec3a577b32437e16f /openbsc/include
parent663debcb90022f1ca53b0d947162774c8a1ec9c5 (diff)
mscsplit: add gsm_network backpointer to gsm_subscriber_connection
We want to be able to use a network backpointer without having to go through a gsm_bts struct. This commit adds the network pointer, the subsequent commit applies direct access to the network structure from gsm_subscriber_connection. Change-Id: If8870972f1b3e333c2a4cce97cdc95bdee0382a1
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 26efeaa3a..ffb7dd226 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -134,6 +134,8 @@ struct gsm_subscriber_connection {
struct osmo_bsc_sccp_con *sccp_con;
/* back pointers */
+ struct gsm_network *network;
+
int in_release;
struct gsm_lchan *lchan;
struct gsm_lchan *ho_lchan;