aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/emu/test_replay_gprs_attach.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/emu/test_replay_gprs_attach.cpp b/tests/emu/test_replay_gprs_attach.cpp
index 9bcab57..8d29a72 100644
--- a/tests/emu/test_replay_gprs_attach.cpp
+++ b/tests/emu/test_replay_gprs_attach.cpp
@@ -78,7 +78,8 @@ void test_replay_gprs_data(struct gprs_bssgp_pcu *pcu, struct msgb *msg, struct
OSMO_ASSERT(ph.cmd == GPRS_LLC_UI);
OSMO_ASSERT(ph.sapi == 1);
- OSMO_ASSERT(ph.seq_tx == next_wanted_nu++);
+ OSMO_ASSERT(ph.seq_tx == next_wanted_nu);
+ next_wanted_nu += 1;
/* this test just wants to see messages... no further data is sent */
if (next_wanted_nu == 6) {