Bluetooth: controller: Add Tx fragmentation assertion

Added Tx fragmentation implementation assertion to check
invalid offset use due to any memory corruptions.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-02-01 07:42:52 +05:30 committed by Anas Nashif
commit 2bfaadffb8

View file

@ -755,6 +755,8 @@ static inline int isr_rx_pdu(struct lll_conn *lll, struct pdu_data *pdu_data_rx,
*tx_release = tx;
FORCE_MD_CNT_SET();
} else {
LL_ASSERT(0);
}
if (IS_ENABLED(CONFIG_BT_CENTRAL) && !lll->role &&