Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: a69fa692b094347e3a1dbcd9198d426f671dec0c https://github.com/bluez/bluez/commit/a69fa692b094347e3a1dbcd9198d426f671dec0c Author: Andrew Drake <adrake@xxxxxxxxxx> Date: 2022-07-13 (Wed, 13 Jul 2022) Changed paths: M src/adapter.c Log Message: ----------- adapter: Fix advertising monitor on Linux 5.12-5.17 The existing code assumes that, if a device supports advertising monitor offload, DEVICE_FOUND events can be ignored since the kernel will send ADV_MONITOR_DEVICE_FOUND events instead. Unfortunately, these new events were added in 5.18, but offload was added in 5.12. This patch adds a check on the MGMT API version so we can process the older DEVICE_FOUND events when the new events are not supported. Fixes: https://github.com/bluez/bluez/issues/357