Subject: Re: [PATCH] brcmsmac: mac80211_if: Fix a resource leak in an error handling path

From: Kalle Valo <[email-masked]>
Date: Tue, 15 Jun 2021 10:43:13 +0000 (UTC)

Christophe JAILLET <[email-masked]> wrote:

> If 'brcms_attach()' fails, we must undo the previous 'ieee80211_alloc_hw()'
> as already done in the remove function.
> 
> Fixes: 5b435de0d786 ("net: wireless: add brcm80211 drivers")
> Signed-off-by: Christophe JAILLET <[email-masked]>
> Acked-by: Arend van Spriel <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

9a25344d5177 brcmsmac: mac80211_if: Fix a resource leak in an error handling path

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/8fbc171a1a[email-masked]/

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