Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, 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 v2 2/2] wifi: p2p: Remove peers when technology is
      disabled. (Tomasz Bursztyka)


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

Message: 1
Date: Wed, 16 Dec 2015 17:26:21 +0100
From: Tomasz Bursztyka <[email protected]>
To: [email protected]
Subject: Re: [PATCH v2 2/2] wifi: p2p: Remove peers when technology is
        disabled.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi John,
> @@ -2803,6 +2820,8 @@ static void peer_found(GSupplicantPeer *peer)
>       ret = connman_peer_register(connman_peer);
>       if (ret < 0 && ret != -EALREADY)
>               connman_peer_unref(connman_peer);
> +
> +     wifi->peers = g_slist_prepend(wifi->peers, connman_peer);

Add this line in a else here to the previous if () statement.
You cannot track a connman_peer if has not successfully registered.


Tomasz


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

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


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

End of connman Digest, Vol 2, Issue 19
**************************************

Reply via email to