path: root/openbsc/src/libmsc/rrlp.c
diff options
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-09 21:09:47 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-26 02:25:46 +0200
commita9f2bb5ab878ad192cd5a593596a6450e6ff7b58 (patch)
tree68b573589faafcbe7016e390c6f7a995535d7c29 /openbsc/src/libmsc/rrlp.c
parent5e0b0a658fdc8d42de434eb1939352c55eeed30f (diff)
mscsplit: directly access gsm_network backpointer from gsm_subscriber_connection
The previous commit added a network backpointer to gsm_subscriber_connection. Use it wherever it makes sense, to skip the step through the bts structure. In some places, remove local variables that become unused. Change-Id: I34537025986713291e14c8212a81539b497befd4
Diffstat (limited to 'openbsc/src/libmsc/rrlp.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/rrlp.c b/openbsc/src/libmsc/rrlp.c
index 161456a06..e695daac7 100644
--- a/openbsc/src/libmsc/rrlp.c
+++ b/openbsc/src/libmsc/rrlp.c
@@ -40,7 +40,7 @@ static const uint8_t ass_pref_pos_req[] = { 0x40, 0x03, 0x79, 0x50 };
static int send_rrlp_req(struct gsm_subscriber_connection *conn)
- struct gsm_network *net = conn->bts->network;
+ struct gsm_network *net = conn->network;
const uint8_t *req;
switch (net->rrlp.mode) {