Re: [PATCH] wifi: brcmfmac: fix P2P action frame handling without device vif
From: Arend van Spriel
Date: Sun Aug 02 2026 - 04:41:32 EST
On Wed, 22 Jul 2026 16:26:08 +0800, Jason Huang <Jason.Huang2@xxxxxxxxxxxx> 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 <jason.huang2@xxxxxxxxxxxx>
> ---
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 4 ++++
> 1 file changed, 4 insertions(+)
Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Provided Johannes is willing to fix the blank line once again. Fingers
crossed ;-)
Regards,
Arend