Re: [PATCH net] wl1251: fix always return 0 error
From: Kalle Valo
Date: Sun Aug 02 2020 - 11:26:04 EST
Wang Hai <wanghai38@xxxxxxxxxx> wrote:
> wl1251_event_ps_report() should not always return 0 because
> wl1251_ps_set_mode() may fail. Change it to return 'ret'.
>
> Fixes: f7ad1eed4d4b ("wl1251: retry power save entry")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
20e6421344b5 wl1251: fix always return 0 error
--
https://patchwork.kernel.org/patch/11692427/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches