Re: wifi: brcmfmac: fix brcmf_vif_clear_mgmt_ies when stopping AP

From: Kalle Valo
Date: Mon Dec 09 2024 - 10:59:36 EST


Renjaya Raga Zenta <ragazenta@xxxxxxxxx> wrote:

> This removes the following error log when stopping AP:
>
> ieee80211 phy0: brcmf_vif_set_mgmt_ie: vndr ie set error : -52
>
> It happened if:
>
> 1) previously wlan interface was in station mode (wpa_supplicant) and
> connected to a hotspot
> 2) then started AP mode (hostapd)
> 3) and then stopped AP mode.
>
> The error happened when it tried to clear BRCMF_VNDR_IE_PRBREQ_FLAG.
> This flag is not set in `brcmf_config_ap_mgmt_ie`, but
> BRCMF_VNDR_IE_ASSOCRSP_FLAG is set instead.
>
> Signed-off-by: Renjaya Raga Zenta <ragazenta@xxxxxxxxx>

Patch applied to wireless-next.git, thanks.

aba23b0a6a0d wifi: brcmfmac: fix brcmf_vif_clear_mgmt_ies when stopping AP

--
https://patchwork.kernel.org/project/linux-wireless/patch/20241121-brcmfmac-v1-1-02fc3fb427c2@xxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches