[PATCH] P2PS: Cleanup pending_p2ps_group flag

Jouni Malinen j at w1.fi
Tue Apr 16 01:12:38 PDT 2019

On Wed, Apr 03, 2019 at 06:17:19PM +0300, Andrei Otcheretianski wrote:
> pending_p2ps_group flag is not always cleaned, which may later result
> in an unexpected GO bring up, after PD response is transmitted in
> wpas_prov_disc_resp_cb().
> This can be seen when running the following hwsim tests together:
>  - p2ps_channel_sta_connected_disallow_freq_mcc
>  - p2ps_channel_active_go_and_station_different_mcc
> Fix this by clearing pending_p2ps_group flag also when processing new
> PD requests. In addition, set this flag only when really needed.

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list