aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-07-20 22:14:35 +0200
committerAlexander Couzens <lynxis@fe80.eu>2021-09-04 01:26:28 +0200
commit616a949456fdefa06bf26f1d12df720823bc43cc (patch)
treef8f59090e033318ee63f0101dbffb1e858164441
parentc2fec69baabf545cfb8a5df622a5aaafefce310c (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 adf3b323..6c48ca6f 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -1391,8 +1391,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;