Bluetooth: Controller: Fix directed advertising report
Fix extended advertising report to set the directed bit in the event type when receiving directed non-connectable advertising. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
449d0b29b7
commit
591007206d
1 changed files with 1 additions and 1 deletions
|
@ -5194,7 +5194,7 @@ no_ext_hdr:
|
|||
adv_info = (void *)(((uint8_t *)sep) + sizeof(*sep));
|
||||
|
||||
/* Set directed advertising bit */
|
||||
if ((evt_type == BT_HCI_LE_ADV_EVT_TYPE_CONN) && direct_addr) {
|
||||
if (direct_addr) {
|
||||
evt_type |= BT_HCI_LE_ADV_EVT_TYPE_DIRECT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue