projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit '816e24cb4296d6b7110da4a89661bbac8dc7af21' into libosmocore
[osmocom-bb.git]
/
src
/
shared
/
libosmocore
/
src
/
msgb.c
diff --git
a/src/shared/libosmocore/src/msgb.c
b/src/shared/libosmocore/src/msgb.c
index
60af373
..
a60e2ff
100644
(file)
--- a/
src/shared/libosmocore/src/msgb.c
+++ b/
src/shared/libosmocore/src/msgb.c
@@
-80,10
+80,11
@@
void msgb_reset(struct msgb *msg)
msg->head = msg->_data;
msg->tail = msg->_data;
- msg->bts_link = NULL;
msg->trx = NULL;
msg->lchan = NULL;
msg->l2h = NULL;
msg->l3h = NULL;
- msg->smsh = NULL;
+ msg->l4h = NULL;
+
+ memset(&msg->cb, 0, sizeof(msg->cb));
}