diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-07-25 19:18:26 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-07-27 20:51:14 +0200 |
commit | a4b1b1bcc18a06a089235c8ada3d6f89fc66d125 (patch) | |
tree | 6c01410fb6c1ade1eb6e79e03fd2a2de97cc62a4 /src | |
parent | 35733809086f7e58075904278e9002c2e40543a7 (diff) |
layer1/l23_api: Fix the L3_MSG_SIZE to include l1ctl header size
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/target/firmware/layer1/l23_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c index d9d341ad..f1997dc5 100644 --- a/src/target/firmware/layer1/l23_api.c +++ b/src/target/firmware/layer1/l23_api.c @@ -43,7 +43,7 @@ /* the size we will allocate struct msgb* for HDLC */ #define L3_MSG_HEAD 4 -#define L3_MSG_SIZE (sizeof(struct l1ctl_info_dl)+sizeof(struct l1ctl_data_ind) + L3_MSG_HEAD) +#define L3_MSG_SIZE (sizeof(struct l1ctl_hdr)+sizeof(struct l1ctl_info_dl)+sizeof(struct l1ctl_data_ind) + L3_MSG_HEAD) void l1_queue_for_l2(struct msgb *msg) { |