Search Linux Wireless

Re: [PATCH v3] brcmfmac: fix brcmf_wiphy_wowl_params() NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chi-Hsien Lin <chi-hsien.lin@xxxxxxxxxxx> wrote:

> From: Winnie Chang <winnie.chang@xxxxxxxxxxx>
> 
> The kernel BUG happens when wowl is enabled from firmware. In
> brcmf_wiphy_wowl_params(), cfg is a NULL pointer because it is
> drvr->config returned from wiphy_to_cfg(), and drvr->config is not set
> yet. To fix it, set drvr->config before brcmf_setup_wiphy() which
> calls brcmf_wiphy_wowl_params().
> 
> Fixes: 856d5a011c86 ("brcmfmac: allocate struct brcmf_pub instance using wiphy_new()")
> Signed-off-by: Winnie Chang <winnie.chang@xxxxxxxxxxx>
> Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@xxxxxxxxxxx>

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

27a8aea13053 brcmfmac: fix brcmf_wiphy_wowl_params() NULL pointer dereference

-- 
https://patchwork.kernel.org/patch/10559407/

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux