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:
parent
938fca2e08
commit
2bfaadffb8
1 changed files with 2 additions and 0 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue