]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: fw: propagate error code from rtw89_h2c_tx()
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 17 Feb 2025 06:43:06 +0000 (14:43 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Feb 2025 01:50:56 +0000 (09:50 +0800)
commit56e1acaa0f80620b8e2c3410db35b4b975782b0a
tree2f99e45522c27989791a81e8f85ce3fca4ea6970
parent2f9da853f4d848d23bade4c22931ea0f5a011674
wifi: rtw89: fw: propagate error code from rtw89_h2c_tx()

The error code should be propagated to callers during downloading firmware
header and body. Remove unnecessary assignment of -1.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250217064308.43559-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c