Re: [PATCH] wifi: rtw89: Fix some error handling path in rtw89_wow_enable()
From: Kalle Valo
Date: Wed Nov 16 2022 - 04:33:26 EST
Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:
> 'ret' is not updated after several function calls in rtw89_wow_enable().
> This prevent error handling from working.
>
> Add the missing assignments.
>
> Fixes: 19e28c7fcc74 ("wifi: rtw89: add WoWLAN function support")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
Patch applied to wireless-next.git, thanks.
61ec34dee266 wifi: rtw89: Fix some error handling path in rtw89_wow_enable()
--
https://patchwork.kernel.org/project/linux-wireless/patch/32320176eeff1c635baeea25ef0e87d116859e65.1668354083.git.christophe.jaillet@xxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches