aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lapd/lapd_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lapd/lapd_test.c')
-rw-r--r--tests/lapd/lapd_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c
index 6b5cfd36..cef1e0d0 100644
--- a/tests/lapd/lapd_test.c
+++ b/tests/lapd/lapd_test.c
@@ -105,8 +105,8 @@ static struct msgb *create_mm_id_req(void)
msg = msgb_from_array(mm, sizeof(mm));
msg->l2h = msg->data + 3;
- OSMO_ASSERT(msgb_l2len(msg) == 12);
msg->l3h = msg->l2h + 6;
+ OSMO_ASSERT(msgb_l2len(msg) == 12);
OSMO_ASSERT(msgb_l3len(msg) == 6);
msgb_push(msg, dummy_l1_header_len);