msgb: Enable checking and fix breaking code (TODO)

Sponsored-by: On-Waves ehf
This commit is contained in:
Jacob Erlbeck 2014-03-18 14:19:25 +01:00
parent 0bae8e3c33
commit 5972644056
1 changed files with 1 additions and 1 deletions

View File

@ -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);