aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-03-23 10:58:05 +0100
committerOliver Smith <osmith@sysmocom.de>2020-03-23 13:49:05 +0100
commit33eca64211759ceec3c7dda9375488cd01fb39fa (patch)
tree8b3e6c426f1f2400156dbfb834968559977751ac /src/osmo-bsc
parent21a2c81da47a771fea8e5f751400763f270a0eb2 (diff)
abis_nm.c: rx_fail_evt_rep: fix sd.bts
Use the extra bts pointer instead of mb->trx->bts, which does not point to an allocated bts. Related: OS#1605 Change-Id: Ie61512f5690763fa380bdf0e7fb4763dbda019d2
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/abis_nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index a874b53ee..2d181e8bc 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -399,7 +399,7 @@ static int rx_fail_evt_rep(struct msgb *mb, struct gsm_bts *bts)
rc = -EINVAL;
}
- sd.bts = mb->trx->bts;
+ sd.bts = bts;
sd.msg = mb;
sd.tp = &tp;
if (e_type)