connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] service: Ignore state information in service reordering
@ 2021-06-23 14:58 VAUTRIN Emmanuel (Canal Plus Prestataire)
  2021-07-02  7:53 ` Daniel Wagner
  0 siblings, 1 reply; 9+ messages in thread
From: VAUTRIN Emmanuel (Canal Plus Prestataire) @ 2021-06-23 14:58 UTC (permalink / raw)
  To: connman

The states of the default and new services shall not impact
the preferred service reordering.
---
 src/service.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/service.c b/src/service.c
index 13f619be7066..222f811c2690 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5894,8 +5894,7 @@ static int service_update_preferred_order(struct connman_service *default_servic
 	unsigned int *tech_array;
 	int i;
 
-	if (!default_service || default_service == new_service ||
-			default_service->state != new_state)
+	if (!default_service || default_service == new_service)
 		return 0;
 
 	tech_array = connman_setting_get_uint_list("PreferredTechnologies");
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-30  7:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 14:58 [PATCH] service: Ignore state information in service reordering VAUTRIN Emmanuel (Canal Plus Prestataire)
2021-07-02  7:53 ` Daniel Wagner
2021-07-02  8:13   ` VAUTRIN Emmanuel (Canal Plus Prestataire)
2021-07-02  8:37     ` Daniel Wagner
2021-07-02 15:19       ` VAUTRIN Emmanuel (Canal Plus Prestataire)
2021-07-06  7:19         ` Daniel Wagner
2021-08-25 12:30           ` VAUTRIN Emmanuel (Canal Plus Prestataire)
2021-08-29 18:48             ` Daniel Wagner
2021-08-30  7:26               ` VAUTRIN Emmanuel (Canal Plus Prestataire)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).