[PATCH] wpa_supplicant: fix MESH-PEER-DISCONNECTED message logic on ctrl iface

Jouni Malinen j at w1.fi
Sun Oct 29 07:55:35 PDT 2023


On Fri, Jul 07, 2023 at 03:37:18PM +0200, Nicolas Escande wrote:
> When using mesh we have incoherent MESH-PEER-CONNECTED/MESH-PEER-DISCONNECTED
> messages when we restart one of the devices without disconnecting it first.
> Sometime we have the right behaviour, a peer disconnect and then a peer connect,
> sometimes we only have a a peer connected without a peer disconnected first, and
> sometimes we have nothing at all.
> 
> As the plink count seem to be correctly tracked & because we only send the
> connected event on plink count increase, lets only send the peer disconnected
> event on plink count decrease.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list