[bluez/bluez] 99cf7a: policy: Fix service retry counters reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/966680
  Home:   https://github.com/bluez/bluez
  Commit: 99cf7ad1a011150a8cd7201fd4ebccc552964ef3
      https://github.com/bluez/bluez/commit/99cf7ad1a011150a8cd7201fd4ebccc552964ef3
  Author: Remi Pommarel <repk@xxxxxxxxxxxx>
  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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux