Bluetooth: Controller: Fix device whitelist feature
During the initial integration of controller to Zephyr OS, radio hardware access was abstracted out into hal/radio.c file. Bug introduced in hal/radio.c has been fixed so that whitelist feature works again. Change-id: Ie5faf80b1a008ef326613548a5a28a4ba52e7ef7 Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
This commit is contained in:
parent
92312026cf
commit
4812b2d40e
1 changed files with 2 additions and 2 deletions
|
@ -276,9 +276,9 @@ void radio_filter_configure(uint8_t bitmask_enable,
|
||||||
uint8_t bitmask_addr_type,
|
uint8_t bitmask_addr_type,
|
||||||
uint8_t *bdaddr)
|
uint8_t *bdaddr)
|
||||||
{
|
{
|
||||||
uint8_t index = 8;
|
uint8_t index;
|
||||||
|
|
||||||
while (index--) {
|
for (index = 0; index < 8; index++) {
|
||||||
NRF_RADIO->DAB[index] = ((uint32_t)bdaddr[3] << 24) |
|
NRF_RADIO->DAB[index] = ((uint32_t)bdaddr[3] << 24) |
|
||||||
((uint32_t)bdaddr[2] << 16) |
|
((uint32_t)bdaddr[2] << 16) |
|
||||||
((uint32_t)bdaddr[1] << 8) |
|
((uint32_t)bdaddr[1] << 8) |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue