Message ID | 20241108181921.309039-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,v1] avrcp: Fix not marking AVRCP_EVENT_VOLUME_CHANGED as supported | expand |
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index b5e6548e6600..9fe8f55e5dbf 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -4268,7 +4268,7 @@ static void target_init(struct avrcp *session) if (target->version < 0x0104) return; - if (!avrcp_volume_supported(target)) + if (avrcp_volume_supported(target)) session->supported_events |= (1 << AVRCP_EVENT_VOLUME_CHANGED);
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> If avrcp_volume_supported return true then AVRCP_EVENT_VOLUME_CHANGED shall be marked as supported. Fixes: https://github.com/bluez/bluez/issues/1007 --- profiles/audio/avrcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)