aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-09-06 15:20:46 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-09-06 15:35:48 +0200
commit36dd22acb7dce60cfdf0027d013fa65e41b328ab (patch)
treeff8ecc5241d03a81b0dfe0c87069f550f97b7ba6
parent5aac651ceee572e995d966e207d3b39b0d2ec014 (diff)
inter-BSC HO outgoing: fix L3 forwarding
Set msgb->l3h when composing the L3 message. Before this, the unset l3h resulted in erratic size in the RSL L3 Info IE. This likely fixes inter-BSC Handover on the outgoing side, to properly forward the RR Handover Command. Change-Id: Ice37242c90c19adbf0795618fd16fe75f0809317
-rw-r--r--src/osmo-bsc/abis_rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index 0dd27fdc5..a3c889e93 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -689,7 +689,7 @@ int rsl_forward_layer3_info(struct gsm_lchan *lchan, const uint8_t *l3_info, uin
return -EINVAL;
msg = rsl_msgb_alloc();
- dst = msgb_put(msg, l3_info_len);
+ msg->l3h = dst = msgb_put(msg, l3_info_len);
memcpy(dst, l3_info, l3_info_len);
msg->lchan = lchan;