[bluez/bluez] 9a6959: transport: Fix set volume failure with invalid dev...

From: github-actions[bot] <hidden>
Date: 2026-03-05 08:44:35

  Branch: refs/heads/1061791
  Home:   https://github.com/bluez/bluez
  Commit: 9a6959f814bb48332c4e1fef69e60a0edaf73173
      https://github.com/bluez/bluez/commit/9a6959f814bb48332c4e1fef69e60a0edaf73173
  Author: Jinwang Li [off-list ref]
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M profiles/audio/transport.c

  Log Message:
  -----------
  transport: Fix set volume failure with invalid device volume

When AVRCP is connected earlier than AVDTP, this invalid device volume
causes the A2DP sink to reject the peer's registration for the
EVENT_VOLUME_CHANGED notification. As a result, subsequent attempts to
set the volume fail.

Fix this by ensuring a valid device volume is returned when the device
volume is invalid, allowing volume registration to succeed.

Fixes: fa7828bddd21 ("transport: Fix not being able to initialize volume properly")
Signed-off-by: Jinwang Li <redacted>



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help