]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
Bluetooth: hci_event: Disconnect device when BIG sync is lost
authorYang Li <yang.li@amlogic.com>
Wed, 20 Aug 2025 02:16:17 +0000 (10:16 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Aug 2025 17:57:14 +0000 (13:57 -0400)
commit55b9551fcdf6a2fe7f3422918d5697b56794da72
tree563351e39680a0b3f13e7e5e5d85c865e604375a
parent15bf2c6391bafb14a3020d06ec0761bce0803463
Bluetooth: hci_event: Disconnect device when BIG sync is lost

When a BIG sync is lost, the device should be set to "disconnected".
This ensures symmetry with the ISO path setup, where the device is
marked as "connected" once the path is established. Without this
change, the device state remains inconsistent and may lead to a
memory leak.

Fixes: b2a5f2e1c127 ("Bluetooth: hci_event: Add support for handling LE BIG Sync Lost event")
Signed-off-by: Yang Li <yang.li@amlogic.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c