Skip to content
Commit 68723274 authored by Andrzej Kaczmarek's avatar Andrzej Kaczmarek Committed by Carles Cufí
Browse files

Bluetooth: controller: Use decoded AdvA/TargetA for conn ind helper



The same helper will be used for legacy and extended advertising so we
better pass AdvA and TargetA directly instead of complete advertising
PDU. This is because those fields are at different locations in legacy
and extended advertising PDUs so caller can figure them out.

Also, we can now check for directed advertising using TargetA since it
will be only supplied for such advertising (NULL otherwise).

Signed-off-by: default avatarAndrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
parent ffb32050
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment