public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] c56e70: policy: Fix reset Control/Target/HS retry counters
@ 2025-05-26 19:57 Remi Pommarel
  0 siblings, 0 replies; only message in thread
From: Remi Pommarel @ 2025-05-26 19:57 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/966495
  Home:   https://github.com/bluez/bluez
  Commit: c56e70c7e1f66b95e064e3952fb56415de4d704e
      https://github.com/bluez/bluez/commit/c56e70c7e1f66b95e064e3952fb56415de4d704e
  Author: Remi Pommarel <repk@triplefau.lt>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M plugins/policy.c

  Log Message:
  -----------
  policy: Fix reset Control/Target/HS retry counters

Control and Target retries counter were reset when service state
goes from CONNECTED to DISCONNECTED, but usually an extra DISCONNECTING
state is reach before going to DISCONNECTED. This causes retry counter
to not being reset in this case, leading to service not being able to
initialize on next connection. HS retry counter was only reset when
limit is reached.

Reset the counter as soon as CONNECTED state is reached to avoid that.



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:[~2025-05-26 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 19:57 [bluez/bluez] c56e70: policy: Fix reset Control/Target/HS retry counters Remi Pommarel

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