Re: [PATCH wireless-next] wifi: brcmfmac: fix crash while sending Action Frames in standalone AP Mode

Arend van Spriel <[email protected]> Mon, 13 Oct 2025 11:26:01 +0200
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On 10/13/2025 9:28 AM, Gokul Sivakumar wrote:
>>> -     reinit_completion(&p2p->send_af_done);
>>> +     init_completion(&p2p->send_af_done);
>> I think we should not do this here. It used to be init_completion() here
>> but the kernel API changed introducing the reinit_completion() to make
>> explicit distinction between init and reinit. So I would suggest to do
>> the init_completion() in brcmf_p2p_attach() which is always invoked and
>> leave the reinit_completion() here.
> That works too. Will create an updated v2 patch after making this change
> and submit it for the wireless tree instead of wireless-next.

Great.

Thanks,
Arend