public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Remi Pommarel <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] 99cf7a: policy: Fix service retry counters reset
Date: Tue, 27 May 2025 07:14:10 -0700	[thread overview]
Message-ID: <bluez/bluez/push/refs/heads/966680/000000-99cf7a@github.com> (raw)

  Branch: refs/heads/966680
  Home:   https://github.com/bluez/bluez
  Commit: 99cf7ad1a011150a8cd7201fd4ebccc552964ef3
      https://github.com/bluez/bluez/commit/99cf7ad1a011150a8cd7201fd4ebccc552964ef3
  Author: Remi Pommarel <repk@triplefau.lt>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M plugins/policy.c

  Log Message:
  -----------
  policy: Fix service retry counters reset

Control and Target retries counter were reset when service state
goes from CONNECTED to DISCONNECTED, but usually an extra DISCONNECTING
state is reached 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. Source, sink and HS retry counter were
only reset when limit was reached, moreover HS timer was not removed on
CONNECTED state.

Reset all service retry counter as soon as CONNECTED state is reached to
avoid that. Also remove hs timer to match other services.



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

                 reply	other threads:[~2025-05-27 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bluez/bluez/push/refs/heads/966680/000000-99cf7a@github.com \
    --to=noreply@github.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox