[PATCH RESEND 1/2] WPS: Keep the in-use network valid when removing a duplicate credential
Jouni Malinen
j at w1.fi
Sun Nov 15 14:00:19 PST 2026
On Sat, Oct 17, 2026 at 06:09:58AM -0700, Alejandro Pacheco wrote:
> wpas_wps_remove_dup_network() can remove the older network block when a
> WPS M8 message delivers two credentials for the same network. The older
> block may be the WPS network that was converted in place for the first
> credential and is still used for the ongoing association. Removing it
> cleared current_ssid, but left the EAPOL and WPA state machines
> referencing the freed network block, and the following WPS completion
> processing lost the connection to the new credential.
>
> Move the in-use references to the new network block before removing the
> older one.
Thanks, both patches applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list