Bluetooth: Controller: Fix Broadcast ISO context get function
Fix Broadcast ISO context get function for out-of-bound access. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
7dd7175336
commit
8a0cf76a76
1 changed files with 1 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ static int init_reset(void)
|
|||
|
||||
static struct ll_adv_iso_set *adv_iso_get(uint8_t handle)
|
||||
{
|
||||
if (handle >= CONFIG_BT_CTLR_ADV_SET) {
|
||||
if (handle >= CONFIG_BT_CTLR_ADV_ISO_SET) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue