public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] c58433: bap: tolerate inverted STREAMING and iso_connect_cb()
@ 2025-10-20 13:36 hadess
  0 siblings, 0 replies; only message in thread
From: hadess @ 2025-10-20 13:36 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c584335d44365520d14bc63abeaa48dd3da9a38f
      https://github.com/bluez/bluez/commit/c584335d44365520d14bc63abeaa48dd3da9a38f
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M profiles/audio/bap.c

  Log Message:
  -----------
  bap: tolerate inverted STREAMING and iso_connect_cb()

Ordering of STREAMING and iso_connect_cb() is unspecified, as
kernel/Glib do not preserve the order of these events.

STREAMING before iso_connect_cb() causes transport to fail Acquire()
since bt_bap_stream_io::connecting == true.

Fix by marking IO as connected even though the connection didn't yet
complete. The socket fd is valid, although not yet writable/readable.

Fixes: https://github.com/bluez/bluez/issues/1506


  Commit: bac077c96b67c8db8df76a49f68f4493db39fc61
      https://github.com/bluez/bluez/commit/bac077c96b67c8db8df76a49f68f4493db39fc61
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M profiles/audio/transport.c

  Log Message:
  -----------
  transport: wait until BAP fd is writable/readable before resuming

Connection may still be pending when entering STREAMING.

Wait until the fd becomes readable/writable before continuing.


  Commit: c2d072641aa9015fdfab196d095566fea364d4dc
      https://github.com/bluez/bluez/commit/c2d072641aa9015fdfab196d095566fea364d4dc
  Author: Andrey Smirnov <andrew.smirnov@gmail.com>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M src/shared/uhid.c
    M src/shared/uhid.h

  Log Message:
  -----------
  shared/uhid.c: Fix 32-bit integer truncation

Id paramter given to bt_uhid_set_report_reply() and
bt_uhid_get_report_reply() corresponds to a 32-bit tag value passed to
us from the kernel side of UHID. Specifying this parameter as uint8_t
breaks the synchronization after 255 request and renders the attached
BLE device inoperable.

Fixes: 92ed637ab2bc ("shared/uhid: Add dedicated functions for each UHID opcode")
Cc: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>


  Commit: 50487180813dfa7e7f106076e0cb9c5c0ad58bb3
      https://github.com/bluez/bluez/commit/50487180813dfa7e7f106076e0cb9c5c0ad58bb3
  Author: Andrey Smirnov <andrew.smirnov@gmail.com>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M profiles/input/hog-lib.c

  Log Message:
  -----------
  hog-lib: Fix 32-bit integer truncation

Id paramter stored in getrep_id and setrep_id corresponds to a 32-bit
tag value passed to us from the kernel side of UHID. Specifying this
parameter as uint16_t breaks the synchronization after 65536 request
and renders the attached BLE device inoperable.

Fixes: cdddd7e69e06 ("android/hog: implement get_report functionality")
Fixes: 83ed02d06fca ("android/hog: Implement set_report functionality")
Cc: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>


  Commit: 39b541edb2731204c988ab329afc0e226c0b8c76
      https://github.com/bluez/bluez/commit/39b541edb2731204c988ab329afc0e226c0b8c76
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M plugins/hostname.c

  Log Message:
  -----------
  hostname: Remove unneeded include


Compare: https://github.com/bluez/bluez/compare/8d181e4e4a06...39b541edb273

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

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

only message in thread, other threads:[~2025-10-20 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 13:36 [bluez/bluez] c58433: bap: tolerate inverted STREAMING and iso_connect_cb() hadess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox