diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-01-19 19:42:17 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-01-19 20:18:49 +0100 |
commit | 856b94cd7b6c570645bce6e9bb0b649ea34c3ebd (patch) | |
tree | 06b51d09750b2f18c1f74d5117312138798c8791 /src/gb | |
parent | 47afc424c3b6f26abb9f42d9b2c3328a469ad9bf (diff) |
gprs_ns2: correct handle BLOCK message on initator
A BLOCK message can be received when waiting for a UNBLOCK message
in state BLOCK
Related: SYS#5208
Change-Id: Ie7b34b3ef04aa28304143191222324e1a3786cb2
Diffstat (limited to 'src/gb')
-rw-r--r-- | src/gb/gprs_ns2_vc_fsm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c index 8604bbea..9f0c5f48 100644 --- a/src/gb/gprs_ns2_vc_fsm.c +++ b/src/gb/gprs_ns2_vc_fsm.c @@ -345,6 +345,9 @@ static void gprs_ns2_st_blocked(struct osmo_fsm_inst *fi, uint32_t event, void * } else { /* we are on the receiving end. The initiator who sent RESET is responsible to UNBLOCK! */ switch (event) { + case GPRS_NS2_EV_BLOCK: + ns2_tx_block_ack(priv->nsvc); + break; case GPRS_NS2_EV_UNBLOCK: ns2_tx_unblock_ack(priv->nsvc); osmo_fsm_inst_state_chg(fi, GPRS_NS2_ST_UNBLOCKED, |