aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/gsm_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc/gsm_data.h')
-rw-r--r--include/osmocom/bsc/gsm_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 3cc37945c..45fbcd21a 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -98,6 +98,10 @@ struct gsm_subscriber_connection {
struct gsm_classmark classmark;
};
+static inline struct gsm_bts *conn_get_bts(struct gsm_subscriber_connection *conn) {
+ return conn->bts;
+}
+
#include "gsm_data_shared.h"