diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-19 20:29:56 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-07-19 20:29:56 +0200 |
commit | 08fce19cfce84432fbf8293318486a96437a3427 (patch) | |
tree | d1decc91327735969fb2efe8605db0e51c254595 /src/osmo-bts-sysmo/l1_transp_fwd.c | |
parent | 0390d54ade12f62759a79447b6f954e8e37ba9d2 (diff) |
Allocate correct message size for L1 primitives
This is required for using firmware v2.4
Diffstat (limited to 'src/osmo-bts-sysmo/l1_transp_fwd.c')
-rw-r--r-- | src/osmo-bts-sysmo/l1_transp_fwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/l1_transp_fwd.c b/src/osmo-bts-sysmo/l1_transp_fwd.c index 4d2b4863..143c8592 100644 --- a/src/osmo-bts-sysmo/l1_transp_fwd.c +++ b/src/osmo-bts-sysmo/l1_transp_fwd.c @@ -64,7 +64,7 @@ static const uint16_t fwd_udp_ports[] = { static int fwd_read_cb(struct osmo_fd *ofd) { - struct msgb *msg = msgb_alloc_headroom(2048, 127, "udp_rx"); + struct msgb *msg = msgb_alloc_headroom(sizeof(SuperFemto_Prim_t) + 128, 128, "udp_rx"); struct femtol1_hdl *fl1h = ofd->data; int rc; |