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: [PATCH] wifi: Check valid network in disconnect callback
      (Daniel Wagner)
   2. [ANNOUNCE] ConnMan Release 1.39 (Daniel Wagner)
   3. [PATCH] wifi: Reset disconnecting status of any network
      (VAUTRIN Emmanuel (Canal Plus Prestataire))


----------------------------------------------------------------------

Date: Wed, 10 Feb 2021 09:16:12 +0100
From: Daniel Wagner <w...@monom.org>
Subject: Re: [PATCH] wifi: Check valid network in disconnect callback
To: "VAUTRIN Emmanuel (Canal Plus Prestataire)"
        <emmanuel.vaut...@cpexterne.org>
Cc: "connman@lists.01.org" <connman@lists.01.org>
Message-ID: <20210210081612.zslo53e34pvpe...@beryllium.lan>
Content-Type: text/plain; charset=us-ascii

Hi Emmanuel,

On Tue, Feb 09, 2021 at 05:46:20PM +0000, VAUTRIN Emmanuel (Canal Plus 
Prestataire) wrote:
> Check the involved network validity in disconnect callback, to avoid
> side effects, as crashing, when processing an already released one.
> 
> Fixes: dd86f09107e8 ("wifi: Always disconnect connection completely")

Patch applied.

Thanks,
Daniel

------------------------------

Date: Wed, 10 Feb 2021 09:24:07 +0100
From: Daniel Wagner <w...@monom.org>
Subject: [ANNOUNCE] ConnMan Release 1.39
To: connman@lists.01.org
Message-ID: <20210210082407.xzhxkwl4edgjc...@beryllium.lan>
Content-Type: text/plain; charset=iso-8859-1

Hi,

A bit late to announce it, but we have a new release since Monday. Many
thanks to all contributors who made this possible:

  Jussi Laakkonen, Boleslaw Tokarski, Colin Wee, Simon Holesch,
  Sergey Matyukevich, Slava Monich, Christoph Steiger,
  Emmanuel Vautrin, Gabriel Forte, Jonathan Liu, Markus Held
  Maxime Roussin-BĂ©langer, Pieter Cardoen, Rahul Jain

Most changes are bug fixes. A handful small features but nothing really
scary since 1.38 except one thing. If you run an older version of
ConnMan you really should update because 1.39 ships a fix for a
remote code execution bug in the dnsproxy code.

Thanks,
Daniel

------------------------------

Date: Wed, 10 Feb 2021 08:25:49 +0000
From: "VAUTRIN Emmanuel (Canal Plus Prestataire)"
        <emmanuel.vaut...@cpexterne.org>
Subject: [PATCH] wifi: Reset disconnecting status of any network
To: "connman@lists.01.org" <connman@lists.01.org>
Message-ID:  <pr1pr02mb47946b25bafd9ccb9ae30d5d93...@pr1pr02mb4794.eur
        prd02.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"

To avoid staying stuck in "Operation aborted" error state when
connecting, the disconnecting status shall be reset by each disconnect
callback, whatever network is involved, even if not previously
connected.

Fixes: dd86f09107e8 ("wifi: Always disconnect connection completely")
---
 plugins/wifi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/wifi.c b/plugins/wifi.c
index 1a0781a69918..c452106e5631 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2266,6 +2266,8 @@ static void disconnect_callback(int result, 
GSupplicantInterface *interface,
        if (g_slist_find(wifi->networks, network))
                connman_network_set_connected(network, false);
 
+       wifi->disconnecting = false;
+
        if (network != wifi->network) {
                if (network == wifi->pending_network)
                        wifi->pending_network = NULL;
@@ -2275,7 +2277,6 @@ static void disconnect_callback(int result, 
GSupplicantInterface *interface,
 
        wifi->network = NULL;
 
-       wifi->disconnecting = false;
        wifi->connected = false;
 
        if (wifi->pending_network) {
-- 
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 64, Issue 11
***************************************

Reply via email to