Re: [PATCH] wifi: brcmfmac: fix P2P action frame handling without device vif

Arend van Spriel <[email protected]> Sun, 2 Aug 2026 10:38:58 +0200
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On Wed, 22 Jul 2026 16:26:08 +0800, Jason Huang <[email protected]> wrote:
> Some P2P action frame paths assume the P2P device vif is always
> available. That is not true when userspace sends non-P2P public action
> frames through the primary interface, or when action-frame abort runs
> after the P2P device vif has not been created.
>
> Fall back to the primary vif when aborting an action frame without a P2P
> device vif, and guard P2P device saved IE access before using it for
> peer channel search.
>
> Fixes: 30fb1b272909 ("brcmfmac: use actframe_abort to cancel ongoing action frame")
> Fixes: 6eda4e2c5425 ("brcmfmac: Add tx p2p off-channel support.")
>
> Signed-off-by: Jason Huang <[email protected]>
> ---
>  drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 4 ++++
>  1 file changed, 4 insertions(+)

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

Provided Johannes is willing to fix the blank line once again. Fingers
crossed ;-)

Regards,
Arend