Re: [PATCH] brcmfmac: fix error return code in brcmf_cfg80211_connect()

Kalle Valo
2020-11-24T15:02:39Z

Zhang Changzhong <zhangchangzhong@huawei.com> wrote:

> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: 3b1e0a7bdfee ("brcmfmac: add support for SAE authentication offload")
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
> Reviewed-by: Chi-hsien Lin <chi-hsien.lin@infineon.com>

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

37ff144d29ac brcmfmac: fix error return code in brcmf_cfg80211_connect()

--