Commit: c159d790e8786581cfa5e5a9e7bd71458a343e44
Parent: c7955b2099dc6be46e977229d852612c4817f78f
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-05-19 01:19:43
Tree: 6d215a7310a8dcff698d8caa432b3aaac68f7cd8

input/device: Notify failure if ctrl disconnect when waiting intr On some rare occasions, the peer HID device might disconnect the ctrl channel when we are trying to connect the intr channel. If this happens, interrupt_connect_cb() will not be called by btio, and we will be stuck in "connecting" state. Any future connection attempt to the peer device will fail because of "busy". This patch prevents that by checking if we need to report connection failure when the ctrl channel is disconnected. Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>

Diffstat

M profiles/input/device.c | 7 +++++++

1 files changed, 7 insertions(+), 0 deletions(-)

View Full Diff | Patch