All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] c159d7: input/device: Notify failure if ctrl disconnect wh...
@ 2022-05-18 22:38 apusaka
  0 siblings, 0 replies; only message in thread
From: apusaka @ 2022-05-18 22:38 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c159d790e8786581cfa5e5a9e7bd71458a343e44
      https://github.com/bluez/bluez/commit/c159d790e8786581cfa5e5a9e7bd71458a343e44
  Author: Archie Pusaka <apusaka@chromium.org>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M profiles/input/device.c

  Log Message:
  -----------
  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>



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-18 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 22:38 [bluez/bluez] c159d7: input/device: Notify failure if ctrl disconnect wh apusaka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.