[lvc-project] [PATCH rtw-next v3] wifi: rtw89: check return values in rtw89_ops_start_ap()
Ping-Ke Shih
pkshih at realtek.com
Fri Jul 3 06:51:47 MSK 2026
Dmitry Morgun <d.morgun at ispras.ru> wrote:
> Several functions called in rtw89_ops_start_ap() may fail to allocate
> skb or fail to send H2C command to firmware, returning -ENOMEM or an
> error code. Their return values are ignored, so subsequent commands
> are executed with incorrect state.
>
> Check the return values and propagate errors.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: a52e4f2ce0f5 ("wifi: rtw89: implement ieee80211_ops::start_ap and stop_ap")
> Signed-off-by: Dmitry Morgun <d.morgun at ispras.ru>
> Acked-by: Ping-Ke Shih <pkshih at realtek.com>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
a8cddb62c573 wifi: rtw89: check return values in rtw89_ops_start_ap()
---
https://github.com/pkshih/rtw.git
More information about the lvc-project
mailing list