From 9a4a67b7143543887af726069867c0f3effb3a9d Mon Sep 17 00:00:00 2001 From: Tyler Potyondy Date: Fri, 8 Nov 2024 13:31:48 -0800 Subject: [PATCH] 15.4: Fix CFG buffer length allowed to kernel (tx) In the libtock sync/async rewrite, the CFG buffer length allowed to the kernel was mistakenly changed from 11 to 27. This reverts the mistake. --- libtock/net/ieee802154.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtock/net/ieee802154.c b/libtock/net/ieee802154.c index 8c9563e35..978334a71 100644 --- a/libtock/net/ieee802154.c +++ b/libtock/net/ieee802154.c @@ -351,7 +351,7 @@ returncode_t libtock_ieee802154_send(uint32_t addr, } // Allow CFG buffer to the kernel - returncode_t ret = libtock_ieee802154_set_readwrite_allow_cfg((void*) BUF_CFG, 27); + returncode_t ret = libtock_ieee802154_set_readwrite_allow_cfg((void*) BUF_CFG, 11); if (ret != RETURNCODE_SUCCESS) return ret; // Allow payload buffer to the kernel