summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/comm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-28 17:53:43 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-28 17:53:43 +0100
commit60298c914133459574d276476b851627637e0a4c (patch)
tree5d7bfa0054e0e5ced837c45e299638b89c62df24 /src/target/firmware/comm
parentca9f6eea61776dc35de36394e5207bfaff09d50f (diff)
ensure we always have 256bytes net data size, excluding 4 bytes headroom
Diffstat (limited to 'src/target/firmware/comm')
-rw-r--r--src/target/firmware/comm/msgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c
index 51f00ff5..499060c3 100644
--- a/src/target/firmware/comm/msgb.c
+++ b/src/target/firmware/comm/msgb.c
@@ -35,7 +35,7 @@ void *tall_msgb_ctx;
#ifdef NO_TALLOC
/* This is a poor mans static allocator for msgb objects */
-#define MSGB_DATA_SIZE 256
+#define MSGB_DATA_SIZE 256+4
#define MSGB_NUM 16
struct supermsg {
uint8_t allocated;