aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-07-20 22:14:35 +0200
committerAlexander Couzens <lynxis@fe80.eu>2021-08-06 20:06:14 +0200
commit6d5be770d4cb9e7cf45ed60bc6f225c2234cd69d (patch)
treeaf49c77c9a821f91144e46c039626143980eaf51
parent98fb1517517bdaed11e30e162b808db48a7b18aa (diff)
gprs_ns2: calculate the nse->*_sums before notifing the sns fsm
The sns fsm needs these information to determine if there is a signalling nsvc left Change-Id: I7b115921780bd1ae895d8b9d0d4aec3e1cbaaf58
-rw-r--r--src/gb/gprs_ns2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 6ebc5fc9..8ade371b 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -1388,8 +1388,8 @@ void ns2_nse_notify_unblocked(struct gprs_ns2_vc *nsvc, bool unblocked)
{
struct gprs_ns2_nse *nse = nsvc->nse;
- ns2_sns_notify_alive(nse, nsvc, unblocked);
ns2_nse_data_sum(nse);
+ ns2_sns_notify_alive(nse, nsvc, unblocked);
if (unblocked == nse->alive)
return;