]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw88: do not ignore hardware read error during DPK
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 15 Apr 2025 09:07:20 +0000 (12:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:12 +0000 (11:05 +0100)
commitf1ba4e35fb3f40e26ca3daabf8d9ce0e4f5506bc
tree1ad613cc76dfca39cac024f841eb2a183a8e9b93
parent6dfe62db59f30522beb2889b4c816bde425a0de4
wifi: rtw88: do not ignore hardware read error during DPK

[ Upstream commit 20d3c19bd8f9b498173c198eadf54580c8caa336 ]

In 'rtw8822c_dpk_cal_coef1()', do not ignore error returned
by 'check_hw_ready()' but issue a warning to denote possible
DPK issue. Compile tested only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 5227c2ee453d ("rtw88: 8822c: add SW DPK support")
Suggested-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250415090720.194048-1-dmantipov@yandex.ru
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/realtek/rtw88/rtw8822c.c