[bluez/bluez] d4f17d: adapter: Fix RemoveDevice timeout when device alre...

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

 



  Branch: refs/heads/982440
  Home:   https://github.com/bluez/bluez
  Commit: d4f17dec8a4f39431bad0892dcd4f13170d33bad
      https://github.com/bluez/bluez/commit/d4f17dec8a4f39431bad0892dcd4f13170d33bad
  Author: Ye He <ye.he@xxxxxxxxxxx>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M src/adapter.c

  Log Message:
  -----------
  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

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