[bluez/bluez] ccf6ee: src/adapter: Fix RemoveDevice timeout when device ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/981701
  Home:   https://github.com/bluez/bluez
  Commit: ccf6eed3547b64924826c36e9af4e91acaa61b7b
      https://github.com/bluez/bluez/commit/ccf6eed3547b64924826c36e9af4e91acaa61b7b
  Author: Ye He <ye.he@xxxxxxxxxxx>
  Date:   2025-07-12 (Sat, 12 Jul 2025)

  Changed paths:
    M src/adapter.c

  Log Message:
  -----------
  src/adapter: Fix RemoveDevice timeout when device already disconnected

When attempting to use RemoveDevice to delete a BIS source device that
was synchronized by the BIS sink scan delegator, the kernel marks the
device as disconnected due to PA sync termination. However, BlueZ is not
notified of this disconnection and still proceeds to send MGMT Disconnect
command. The kernel responds with MGMT_STATUS_DISCONNECTED, which BlueZ
does not currently handle as a successful case. As a result, the RemoveDevice
call never completes and no D-Bus reply is returned.

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

Signed-off-by: Ye He <ye.he@xxxxxxxxxxx>



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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux