]> www.infradead.org Git - users/willy/xarray.git/commit
Bluetooth: hci_sync: avoid dup filtering when passive scanning with adv monitor
authorAnton Khirnov <anton@khirnov.net>
Mon, 29 Jul 2024 19:58:10 +0000 (21:58 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 7 Aug 2024 20:36:01 +0000 (16:36 -0400)
commitb5431dc2803ac159d6d4645ae237d15c3cb252db
tree46c86d9aeb8098f8f2f7efca6233006c44bb0b6f
parentc531e63871c0b50c8c4e62c048535a08886fba3e
Bluetooth: hci_sync: avoid dup filtering when passive scanning with adv monitor

This restores behaviour (including the comment) from now-removed
hci_request.c, and also matches existing code for active scanning.

Without this, the duplicates filter is always active when passive
scanning, which makes it impossible to work with devices that send
nontrivial dynamic data in their advertisement reports.

Fixes: abfeea476c68 ("Bluetooth: hci_sync: Convert MGMT_OP_START_DISCOVERY")
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c