[PATCH] nl80211: Fix stale assoc_freq causing WPA3 cross-band roaming failure

Jouni Malinen j at w1.fi
Mon Jul 27 02:50:11 PDT 2026


On Tue, Jun 16, 2026 at 04:34:16PM +0800, Shelley Yang wrote:
> When driver BSS selection is enabled, params->freq.freq is 0 in
> nl80211_connect_common(). Commit 6f6f9a941c2a removed the else branch
> that resets drv->assoc_freq to 0 in this case, leaving it with the
> previous BSS frequency. During cross-band roaming, nl80211_get_assoc_freq()
> returns the stale value, causing send_mlme() to transmit SAE
> Authentication frames on the wrong channel and roaming fails.
> 
> Restore the else branch to reset drv->assoc_freq = 0 when
> params->freq.freq is not specified.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list