Bluetooth: host: Fix scanner using wrong identity to resolve peer
Fix the scanner using the advertiser identity instead of the scanners identity, scanner always use BT_ID_DEFAULT. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
4702df0cec
commit
abd03aa3ad
1 changed files with 1 additions and 1 deletions
|
@ -3837,7 +3837,7 @@ static void le_adv_report(struct net_buf *buf)
|
|||
id_addr.type -= BT_ADDR_LE_PUBLIC_ID;
|
||||
} else {
|
||||
bt_addr_le_copy(&id_addr,
|
||||
bt_lookup_id_addr(bt_dev.adv_id,
|
||||
bt_lookup_id_addr(BT_ID_DEFAULT,
|
||||
&info->addr));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue