Parent: 088de118d17c017d66030384d772395e0e26345d
Author: Remi Pommarel <repk@triplefau.lt>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-05-28 00:02:25
Tree: 03d154dd0c81f8ff765ef5ceabccc1732829d1ff
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.
Diffstat
| M | plugins/policy.c | | | 13 | +++++++++- - - - |
1 files changed, 9 insertions(+), 4 deletions(-)