linux/drivers/net/wireless
Zhang Shurong 0aec8dab2b wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
[ Upstream commit 4f4626cd04 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:49:27 +02:00
..
admtek
ath wifi: ath10k: Serialize wake_tx_queue ops 2023-07-19 16:22:10 +02:00
atmel wifi: atmel: Fix an error handling path in atmel_probe() 2023-07-19 16:21:06 +02:00
broadcom wifi: b43: fix incorrect __packed annotation 2023-06-09 10:34:15 +02:00
cisco wifi: airo: avoid uninitialized warning in airo_get_rate() 2023-07-23 13:49:26 +02:00
intel wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection 2023-07-19 16:21:10 +02:00
intersil wifi: orinoco: Fix an error handling path in orinoco_cs_probe() 2023-07-19 16:21:06 +02:00
marvell wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan() 2023-07-19 16:21:04 +02:00
mediatek wifi: mt76: mt7921e: fix init command fail with enabled device 2023-07-19 16:22:10 +02:00
microchip wifi: wilc1000: fix for absent RSN capabilities WFA testcase 2023-07-19 16:21:04 +02:00
purelifi
quantenna
ralink
realtek wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set() 2023-07-23 13:49:27 +02:00
rsi wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown 2023-07-19 16:21:07 +02:00
silabs
st
ti
zydas
Kconfig
mac80211_hwsim.c
mac80211_hwsim.h
Makefile
ray_cs.c wifi: ray_cs: Fix an error handling path in ray_probe() 2023-07-19 16:21:06 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c
wl3501_cs.c wifi: wl3501_cs: Fix an error handling path in wl3501_probe() 2023-07-19 16:21:06 +02:00
wl3501.h