linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bluez/bluez] a69fa6: adapter: Fix advertising monitor on Linux 5.12-5.17
@ 2022-07-13 21:42 Andrew Drake
  0 siblings, 0 replies; only message in thread
From: Andrew Drake @ 2022-07-13 21:42 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: a69fa692b094347e3a1dbcd9198d426f671dec0c
      https://github.com/bluez/bluez/commit/a69fa692b094347e3a1dbcd9198d426f671dec0c
  Author: Andrew Drake <adrake@adrake.org>
  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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-13 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13 21:42 [bluez/bluez] a69fa6: adapter: Fix advertising monitor on Linux 5.12-5.17 Andrew Drake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).