From 9a6e8ceea1d1386914bbe4b71c025e8f799601fc Mon Sep 17 00:00:00 2001 From: Eric Wild Date: Sat, 7 Nov 2020 19:39:16 +0100 Subject: ccid: adjust msgb size Our transfers are < 300b including the header anyway, no need to have different allocation sizes. Change-Id: Ia7b20dc4410f5705d0401bc805cad0ae7a7de406 --- ccid_common/ccid_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccid_common/ccid_device.c b/ccid_common/ccid_device.c index 7819d41..405fb2e 100644 --- a/ccid_common/ccid_device.c +++ b/ccid_common/ccid_device.c @@ -180,7 +180,7 @@ static uint8_t ccid_pc_to_rdr_get_seq(const struct ccid_pc_to_rdr *u) static struct msgb *ccid_msgb_alloc(void) { - struct msgb *msg = msgb_alloc(512, "ccid"); + struct msgb *msg = msgb_alloc(300, "ccid"); OSMO_ASSERT(msg); return msg; } -- cgit v1.2.3