Skip to content

Commit

Permalink
15.4: Fix CFG buffer length allowed to kernel (tx)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tyler-potyondy committed Nov 8, 2024
1 parent 7f2ced0 commit 9a4a67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtock/net/ieee802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a4a67b

Please sign in to comment.