Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

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 <[email protected]>
Subject: Re: [PATCH] wifi: Check valid network in disconnect callback
To: "VAUTRIN Emmanuel (Canal Plus Prestataire)"
        <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
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 <[email protected]>
Subject: [ANNOUNCE] ConnMan Release 1.39
To: [email protected]
Message-ID: <[email protected]>
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)"
        <[email protected]>
Subject: [PATCH] wifi: Reset disconnecting status of any network
To: "[email protected]" <[email protected]>
Message-ID:  <[email protected]
        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 -- [email protected]
To unsubscribe send an email to [email protected]


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

End of connman Digest, Vol 64, Issue 11
***************************************

Reply via email to