Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] ad9f35: input: Reset report map state on detach
@ 2026-09-26  0:38 ooonea.eth
  0 siblings, 0 replies; only message in thread
From: ooonea.eth @ 2026-09-26  0:38 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1174115
  Home:   https://github.com/bluez/bluez
  Commit: ad9f353d3126394de02a19abc185a83c96127d3a
      https://github.com/bluez/bluez/commit/ad9f353d3126394de02a19abc185a83c96127d3a
  Author: Giuseppe Piscitelli <35407790+ooonea@users.noreply.github.com>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M profiles/input/hog-lib.c

  Log Message:
  -----------
  input: Reset report map state on detach

read_report_map() leaves report_map_id set after a failed read. Detach
cancels queued GATT operations but retains that ID, so a later attach
cannot request the report map again and never creates the UHID device.

Clear the ID when cancelling GATT operations on detach. This also lets
a reconnect retry a read that was still pending at disconnection.

A socketpair reproducer fails to read the map after either an ATT error
or cancellation before this change; both cases create UHID afterwards.
The existing HoG and UHID unit tests also pass.

Assisted-by: OpenAI Codex:gpt-6



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

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

only message in thread, other threads:[~2026-09-26  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26  0:38 [bluez/bluez] ad9f35: input: Reset report map state on detach ooonea.eth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox