Parent: 20a38abb36618b14f4cf7593de3dba9634970cc7
Author: Cheng Jiang <quic_chejiang@quicinc.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-09-30 22:46:34
Tree: 92ef895c445a445ce932808267f5339a90ea140a
device: Remove device after all bearers are disconnected For a dual-mode remote, both BR/EDR and BLE may be connected, RemoveDevice should be handled after all bearers are disconnects. Otherwise, if msg is removed, but not all connection are dropped, this function returns before *remove is updated, then after all connections are dropped, but device->disconnects is NULL, remove_device is not updated. Consequently *remove is not set to true. Remove device is not performed in adapter_remove_connection.
Diffstat
| M | src/device.c | | | 25 | +++++++++++++- - - - - - - - - - - - |
1 files changed, 13 insertions(+), 12 deletions(-)