From 33eca64211759ceec3c7dda9375488cd01fb39fa Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 23 Mar 2020 10:58:05 +0100 Subject: 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 --- src/osmo-bsc/abis_nm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3