public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 8e5f34: bap: call select_cb on bt_bap_cancel_select() to c...
@ 2024-04-22 19:03 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2024-04-22 19:03 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 8e5f3433dc5f88164aeba8e077cd125717146e34
      https://github.com/bluez/bluez/commit/8e5f3433dc5f88164aeba8e077cd125717146e34
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M profiles/audio/media.c

  Log Message:
  -----------
  bap: call select_cb on bt_bap_cancel_select() to clean up

Have bt_bap_cancel_select() to trigger the callback function with error
code, simplifying the cleanup when ep is freed while SelectProperties is
ongoing.

Fixes bap_data->selecting not being decremented when ep setup is
canceled, which results to transports not being created thereafter.

Fixes: 41d6c4e1c92f ("bap: cancel ongoing SelectProperties() before freeing the ep")



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:[~2024-04-22 19:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 19:03 [bluez/bluez] 8e5f34: bap: call select_cb on bt_bap_cancel_select() to c Pauli Virtanen

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