Commit 55b9551
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: b2a5f2e ("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>1 parent 15bf2c6 commit 55b9551
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7024 | 7024 | | |
7025 | 7025 | | |
7026 | 7026 | | |
| 7027 | + | |
7027 | 7028 | | |
7028 | 7029 | | |
7029 | 7030 | | |
| |||
7042 | 7043 | | |
7043 | 7044 | | |
7044 | 7045 | | |
| 7046 | + | |
| 7047 | + | |
| 7048 | + | |
| 7049 | + | |
7045 | 7050 | | |
7046 | 7051 | | |
7047 | 7052 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9705 | 9705 | | |
9706 | 9706 | | |
9707 | 9707 | | |
9708 | | - | |
| 9708 | + | |
| 9709 | + | |
| 9710 | + | |
9709 | 9711 | | |
9710 | 9712 | | |
9711 | 9713 | | |
| |||
0 commit comments