[PATCH] This patch is to clear existing dev->info.wfd_subelems when peer stops sending wfd_subelems.

Jouni Malinen j at w1.fi
Sun Dec 11 15:02:07 PST 2016


On Wed, Dec 07, 2016 at 08:47:16PM +0530, Mayank Haarit wrote:
> This patch fixes below scenario:
> 
> When peer device stops sending wfd_subelems , then supplicant should remove dev->info.wfd_subelems from device's property.
> Currently , Supplicant is not removing old dev->info.wfd_subelems.
> 
> Also , Above behaviour generates another issue :
> 
> As "wfd_changed" variable becomes true even when peer stops sending wfd_subelems and dev->info.wfd_subelems has an old value.
> It results in notifying P2P-DEVICE-FOUND event again and again to upper layer.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list