From e6a256a78535ec418ccb351d0a79fc20e1c2d57f Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Mon, 11 Feb 2019 22:51:07 +0530 Subject: [PATCH] Bluetooth: controller: Fix Rx buffer size variable data type Fix the Rx buffer size variable data type to fit memory block sizes greater than 255. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/ll_sw/ull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/ll_sw/ull.c b/subsys/bluetooth/controller/ll_sw/ull.c index 68cfd39431..db54712d53 100644 --- a/subsys/bluetooth/controller/ll_sw/ull.c +++ b/subsys/bluetooth/controller/ll_sw/ull.c @@ -154,7 +154,7 @@ static MFIFO_DEFINE(ll_pdu_rx_free, sizeof(void *), LL_PDU_RX_CNT); PDU_RX_OCTETS_MAX))) * RX_CNT) static struct { - u8_t size; /* Runtime (re)sized info */ + u16_t size; /* Runtime (re)sized info */ void *free; u8_t pool[PDU_RX_POOL_SIZE];