Commit: 8c9977b02169621f4643106c18de4de9824485a9
Parent: 2b0a6fa0840715bbffe5b7a2195795575ce14600
Author: Ye He <ye.he@amlogic.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-07-15 17:28:03
Tree: 2ec41de38889ccf67c19af121f40578743269edf

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(period adv) 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

Diffstat

M src/adapter.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)

View Full Diff | Patch