[PATCH 1/2] Do not stall after a connection failure with multiple networks

Jouni Malinen j at w1.fi
Sun Nov 15 07:23:52 PST 2026


On Wed, Nov 11, 2026 at 08:07:06PM +0100, Gustavo Bertoli wrote:
> Most callers of wpas_connection_failed() set WPA_DISCONNECTED only after
> it returns. With more than one enabled network, the fast associate after
> the first failure can select the same BSS again, and
> wpa_supplicant_connect() skips it as an ongoing attempt. No retry or scan
> is scheduled, so the other enabled networks are not tried and the
> station stays disconnected. Set WPA_DISCONNECTED before the fast
> associate.

Thanks, both patches applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list