diff options
author | Zhang Shurong <zhang_shurong@foxmail.com> | 2023-07-06 10:45:00 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-12 17:52:37 -0700 |
commit | 4f4626cd049576af1276c7568d5b44eb3f7bb1b1 (patch) | |
tree | dfab2b6fc456342b235d46b4c4fb8fb7af83de73 /include | |
parent | aa846677a9fb19a0f2c58154c140398aa92a87ba (diff) |
wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
If there is a failure during rtw89_fw_h2c_raw() rtw89_debug_priv_send_h2c
should return negative error code instead of a positive value count.
Fix this bug by returning correct error code.
Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://lore.kernel.org/r/tencent_AD09A61BC4DA92AD1EB0790F5C850E544D07@qq.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions