diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-06-15 21:35:45 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-06-25 08:12:39 +0000 |
commit | e09deb63552370a2603e00413001223c8ea10c1c (patch) | |
tree | 55eeb4a80ec182d3b0926c1dc51d2b1b5660d736 /src | |
parent | d5cd8c61cb17f94184e3fd9f3123861d86f060ba (diff) |
gprs_ns2: fix missing notify towards the NSE when NSVC become blocked
The NSE wasn't notified when a NSVC went into the BLOCKED state from
an UNBLOCKED state.
Related: OS#5182
Change-Id: I09634e414e9bb966e6b5809b7de1b59fbabd413d
Diffstat (limited to 'src')
-rw-r--r-- | src/gb/gprs_ns2_vc_fsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c index 341a5a1a..70258ccd 100644 --- a/src/gb/gprs_ns2_vc_fsm.c +++ b/src/gb/gprs_ns2_vc_fsm.c @@ -338,6 +338,7 @@ static void ns2_st_blocked_onenter(struct osmo_fsm_inst *fi, uint32_t old_state) rate_ctr_inc(rate_ctr_group_get_ctr(priv->nsvc->ctrg, NS_CTR_BLOCKED)); } + ns2_nse_notify_unblocked(priv->nsvc, false); if (priv->om_blocked) { /* we are already blocked after a RESET */ if (old_state == GPRS_NS2_ST_RESET) { |