Bluetooth: controller: nrf5: Fix AAR scratch pointer

The nRF5's AAR was being improperly configured, leading to a NULL
scratch pointer which made it not function at all.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2017-08-02 11:45:33 +02:00
commit ba2f0a1f1e

View file

@ -799,7 +799,7 @@ void radio_ar_configure(u32_t nirk, void *irk)
NRF_AAR->NIRK = nirk;
NRF_AAR->IRKPTR = (u32_t)irk;
NRF_AAR->ADDRPTR = (u32_t)NRF_RADIO->PACKETPTR;
NRF_AAR->SCRATCHPTR = (u32_t)_aar_scratch[0];
NRF_AAR->SCRATCHPTR = (u32_t)&_aar_scratch[0];
radio_bc_configure(64);