linux/drivers/net/wireless/realtek
Zhang Shurong 4f4626cd04 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: e3ec7017f6 ("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>
2023-07-12 17:52:37 -07:00
..
rtl8xxxu Merge wireless into wireless-next 2023-06-07 19:49:36 +02:00
rtl818x wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
rtlwifi wifi: rtlwifi: cleanup USB interface 2023-06-21 21:31:10 +03:00
rtw88 wifi: rtw88: fix not entering PS mode after AP stops 2023-06-21 12:41:46 +03:00
rtw89 wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set() 2023-07-12 17:52:37 -07:00
Kconfig rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00
Makefile rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00