wifi: rtw89: Fix some error handling path in rtw89_wow_enable()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 13 Nov 2022 15:42:21 +0000 (16:42 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 16 Nov 2022 09:33:08 +0000 (11:33 +0200)
commit61ec34dee266f1cea092986d861a2cb136571199
treec66626f360e8dd06efc7289d9b9537289586554d
parent89e706459848a7cc80f222a1999c0bfcdf63289f
wifi: rtw89: Fix some error handling path in rtw89_wow_enable()

'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@wanadoo.fr>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/32320176eeff1c635baeea25ef0e87d116859e65.1668354083.git.christophe.jaillet@wanadoo.fr
drivers/net/wireless/realtek/rtw89/wow.c