diff --git a/subsys/bluetooth/controller/ll_sw/ull_filter.c b/subsys/bluetooth/controller/ll_sw/ull_filter.c index 4a05e6e19c1..41e6b84ae76 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_filter.c +++ b/subsys/bluetooth/controller/ll_sw/ull_filter.c @@ -785,7 +785,7 @@ static u32_t wl_add(bt_addr_le_t *id_addr) /* Duplicate check */ if (i < ARRAY_SIZE(wl)) { - return BT_HCI_ERR_INVALID_PARAM; + return 0; } else if (j >= ARRAY_SIZE(wl)) { return BT_HCI_ERR_MEM_CAPACITY_EXCEEDED; }