aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2020-11-07 19:39:16 +0100
committerEric Wild <ewild@sysmocom.de>2020-11-11 21:26:09 +0100
commit9a6e8ceea1d1386914bbe4b71c025e8f799601fc (patch)
treeee4c1d7c734d3606389f488e8bfca79ae0ef44ac
parenteff9b915653190b83e97cdcf474a0d16a669b136 (diff)
ccid: adjust msgb size
Our transfers are < 300b including the header anyway, no need to have different allocation sizes. Change-Id: Ia7b20dc4410f5705d0401bc805cad0ae7a7de406
-rw-r--r--ccid_common/ccid_device.c2
1 files changed, 1 insertions, 1 deletions
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;
}