If a found device is marked as blocked while doing passive LE scanning,
neither report it nor try to connect to it.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
bdaddr_type = irk->addr_type;
}
+ /* Ignore if the device is blocked */
+ if (hci_blacklist_lookup(hdev, bdaddr, bdaddr_type))
+ return;
+
if (type == LE_ADV_IND || type == LE_ADV_DIRECT_IND) {
if (check_pending_le_conn(hdev, bdaddr, bdaddr_type))
return;