Commit: 65f7faf5a3d0dcd63c14467a3a2bda317287e330
Parent: e3c92f1f786f0b55440bd908b55894d0c792cf0e
Author: Youwan Wang <wangyouwan@uniontech.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-06-24 02:25:54
Tree: cab31a49adbe319ef7c978f8aab96837c71dc894

device: Fix not removing connected device [bluetooth]# connect 40:EF:4C:0C:11:F0 Attempting to connect to 40:EF:4C:0C:11:F0 [CHG] Device 40:EF:4C:0C:11:F0 Connected: yes Connection successful [CHG] Device 40:EF:4C:0C:11:F0 ServicesResolved: yes [UFO]# remove 40:EF:4C:0C:11:F0 [CHG] Device 40:EF:4C:0C:11:F0 ServicesResolved: no Device has been removed [CHG] Device 40:EF:4C:0C:11:F0 Connected: no [bluetooth]# info 40:EF:4C:0C:11:F0 Device 40:EF:4C:0C:11:F0 (public) Name: UFO Alias: UFO Class: 0x00240418 Icon: audio-headphones Paired: yes Trusted: no Blocked: no Connected: no LegacyPairing: no UUID: Headset UUID: Audio Sink UUID: A/V Remote Control Target UUID: A/V Remote Control UUID: Handsfree UUID: Phonebook Access Server

Diffstat

M src/adapter.c | 11 ++++++++++-
M src/device.c | 5 +++- -
M src/device.h | 3 ++-

3 files changed, 15 insertions(+), 4 deletions(-)

View Full Diff | Patch