Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] 45183e: shared/vcp: Fix duplicate VCS registration in bt_v...
@ 2026-06-09 18:35 Šimon Mikuda
  0 siblings, 0 replies; only message in thread
From: Šimon Mikuda @ 2026-06-09 18:35 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1108772
  Home:   https://github.com/bluez/bluez
  Commit: 45183e49cd6de5e6ded958abce96a1889144d2fb
      https://github.com/bluez/bluez/commit/45183e49cd6de5e6ded958abce96a1889144d2fb
  Author: Simon Mikuda <simon.mikuda@streamunlimited.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M src/shared/vcp.c

  Log Message:
  -----------
  shared/vcp: Fix duplicate VCS registration in bt_vcp_add_db

bt_vcp_add_db() called vcp_db_new() unconditionally, registering a
second VCS instance when bt_vcp_new() (e.g. a remote client session)
had already created a vdb for the same gatt_db. Guard the db as
bt_tmap_add_db()/bt_gmap_add_db() do, since VCS permits only one
instance per device.

Fixes PTS test VCS/SR/SGGIT/SER/BV-01-C.



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:[~2026-06-09 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 18:35 [bluez/bluez] 45183e: shared/vcp: Fix duplicate VCS registration in bt_v Šimon Mikuda

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