Send connman mailing list submissions to connman@lists.01.org To subscribe or unsubscribe via email, send a message with subject or body 'help' to connman-requ...@lists.01.org
You can reach the person managing the list at connman-ow...@lists.01.org When replying, please edit your Subject line so it is more specific than "Re: Contents of connman digest..." Today's Topics: 1. RE: Orbi router won't reconnect (VAUTRIN Emmanuel (Canal Plus Prestataire)) ---------------------------------------------------------------------- Date: Wed, 28 Apr 2021 07:56:01 +0000 From: "VAUTRIN Emmanuel (Canal Plus Prestataire)" <emmanuel.vaut...@cpexterne.org> Subject: RE: Orbi router won't reconnect To: Thomas Green <tgre...@sorenson.com>, "connman@lists.01.org" <connman@lists.01.org> Message-ID: <pr1pr02mb479445edc6d9fe19db41f55993...@pr1pr02mb4794.eur prd02.prod.outlook.com> Content-Type: text/plain; charset="iso-8859-1" Hello Thomas, Unfortunately I won't have any time to check this. Have you tried, as I have proposed to you, to test with the patch from Re: [PATCH] service: Fix autoconnect after rejection https://lists.01.org/hyperkitty/list/connman@lists.01.org/thread/K32CVCRYNYB6VGTQ2N6VZXLKFUEQJT2K/ I copy it below. Do not use it in production, it is a bit risky, maybe you should add a counter to avoid to be completely blocked by the AP. Best Regards, Emmanuel >From 9df3909aa487eb1f8c8796d82b0ee09adcead36b Mon Sep 17 00:00:00 2001 From: Emmanuel VAUTRIN <Emmanuel.VAUTRIN(a)cpexterne.org> Date: Wed, 13 Jan 2021 18:19:55 +0100 Subject: [PATCH] service: Fix autoconnection of a service in failure state Prevents a service to be blocked in failure state, when its autoconnection fails. --- src/service.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/service.c b/src/service.c index 5a582cdf..64ee1f44 100644 --- a/src/service.c +++ b/src/service.c @@ -4186,6 +4186,12 @@ static bool auto_connect_service(GList *services, return autoconnecting; } + if (service->state == CONNMAN_SERVICE_STATE_FAILURE) { + /* Back to idle to unblock next autoconnection. */ + service->state = CONNMAN_SERVICE_STATE_IDLE; + continue; + } + if (is_ignore(service) || service->state != CONNMAN_SERVICE_STATE_IDLE) continue; -- 2.25.1 ------------------------------ Subject: Digest Footer _______________________________________________ connman mailing list -- connman@lists.01.org To unsubscribe send an email to connman-le...@lists.01.org ------------------------------ End of connman Digest, Vol 66, Issue 34 ***************************************