summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2020-09-15 11:04:19 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-15 09:50:21 -0700
commit48d8f08a54003c1526cb614d00a16c08b6471aef (patch)
tree4dbdb92ec2988accfa57393195f448ee0c0fbf78 /plugins
parent6611b72600c370ec31795ab48a222594c4afb7ee (diff)
downloadbluez-48d8f08a54003c1526cb614d00a16c08b6471aef.tar.gz
device: don't wait for timeout if RemoveDevice is called
RemoveDevice on adapter interface used to remove a device, even when the device is connected. However, since the introduction of the new 30 seconds timeout when setting a device as temporary, RemoveDevice doesn't immediately remove a connected device, but only disconnects it and waits for the timer to expire before effectively removes it. This patch removes the device as soon as it gets disconnected, provided the disconnection is triggered by a call to RemoveDevice. The regular timeout still applies for other cases. Tested manually by calling RemoveDevice on a connected device, and with ChromeOS autotest setup.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions