aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_bssgp2.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-08 21:15:45 +0100
committerHarald Welte <laforge@osmocom.org>2020-12-09 22:57:53 +0100
commit1fcfce86cb1dbc048731583401c2524864bf729e (patch)
treeb54890f2f3717cee8c981289da7de83ac6e22441 /src/gb/gprs_bssgp2.c
parent4394bb96291fabbdb102afd5d681ad720d75ab94 (diff)
bssgp_bvc_fsm: Add basic BVC flow control rx/tx support
The FSM doesn't actually implement the flow control logic, it only decodes / dispatches and encodes messages. Related: OS#4891 Change-Id: Ie59be6761177c43456898be9148727f15861a622
Diffstat (limited to 'src/gb/gprs_bssgp2.c')
-rw-r--r--src/gb/gprs_bssgp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_bssgp2.c b/src/gb/gprs_bssgp2.c
index a54a8d93..5a8d41f6 100644
--- a/src/gb/gprs_bssgp2.c
+++ b/src/gb/gprs_bssgp2.c
@@ -437,7 +437,7 @@ struct msgb *bssgp2_enc_fc_ms_ack(uint32_t tlli, uint8_t tag)
return NULL;
bgph = (struct bssgp_normal_hdr *) msgb_put(msg, sizeof(*bgph));
- bgph->pdu_type = BSSGP_PDUT_FLOW_CONTROL_BVC_ACK;
+ bgph->pdu_type = BSSGP_PDUT_FLOW_CONTROL_MS_ACK;
msgb_tvlv_put_32be(msg, BSSGP_IE_TLLI, tlli);
msgb_tvlv_put(msg, BSSGP_IE_TAG, 1, &tag);