Re: [PATCH v2] wifi: brcmfmac: cyw: pass PMKID to firmware if present

Arend van Spriel <[email protected]> Sun, 2 Aug 2026 10:39:02 +0200
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On Fri, 24 Jul 2026 20:35:28 -0500, Bogdan Nicolae <[email protected]> wrote:
> Zero out auth_status on initialization. Otherwise, garbage will
> leak from the stack to the firmware (when ssid is less than 32 bytes
> and/or when params->pmkid is set). Then, pass the params->pmkid to the
> firmware (without it, the firmware caches a garbage PMKID on successful
> authentication and denies a subsequent association request that includes
> the PMKID).
>
> Signed-off-by: Bogdan Nicolae <[email protected]>
> ---
> v2: Split into a separate patch
>
>  drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/core.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Please add a Fixes tag and Cc stable:

  Cc: [email protected]
  Fixes: 66f909308a7c ("wifi: brcmfmac: cyw: support external SAE authentication in station mode")

Acked-by: Arend van Spriel <[email protected]>

Regards,
Arend