aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/bssgp_bvc_fsm.c
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2021-02-12 01:57:52 +0100
committerdaniel <dwillmann@sysmocom.de>2021-02-12 14:19:20 +0000
commitfa632b8e80edad72b4413aac6886030c806929b9 (patch)
tree6a74d818aaf9354ba1a78229ea3c00029c59293b /src/gb/bssgp_bvc_fsm.c
parent1ff86f7cec32d39b84effa896569f8fc7ca703d2 (diff)
bssgp2_enc_status: Truncate STATUS message to maximum PDU length
Diffstat (limited to 'src/gb/bssgp_bvc_fsm.c')
-rw-r--r--src/gb/bssgp_bvc_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/bssgp_bvc_fsm.c b/src/gb/bssgp_bvc_fsm.c
index d2ee1462..a0359386 100644
--- a/src/gb/bssgp_bvc_fsm.c
+++ b/src/gb/bssgp_bvc_fsm.c
@@ -238,7 +238,7 @@ static void _tx_status(struct osmo_fsm_inst *fi, enum gprs_bssgp_cause cause, co
if (cause == BSSGP_CAUSE_UNKNOWN_BVCI || cause == BSSGP_CAUSE_BVCI_BLOCKED)
bvci = &bfp->bvci;
- tx = bssgp2_enc_status(cause, bvci, rx);
+ tx = bssgp2_enc_status(cause, bvci, rx, bfp->max_pdu_len);
if (msgb_bvci(rx) == 0)
fi_tx_sig(fi, tx);