linux/drivers/net/wireless
Zhang Shurong d2cb036bac 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>
History 2023-07-23 13:53:49 +02:00
..
admtek wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
ath wifi: ath10k: Serialize wake_tx_queue ops 2023-07-19 16:36:52 +02:00
atmel wifi: atmel: Fix an error handling path in atmel_probe() 2023-07-19 16:35:24 +02:00
broadcom wifi: b43: fix incorrect __packed annotation 2023-05-17 09:24:09 +03:00
cisco wifi: airo: avoid uninitialized warning in airo_get_rate() 2023-07-23 13:53:47 +02:00
intel wifi: iwlwifi: mvm: check only affected links 2023-07-19 16:35:33 +02:00
intersil wifi: orinoco: Fix an error handling path in orinoco_cs_probe() 2023-07-19 16:35:24 +02:00
legacy wifi: ray_cs: Fix an error handling path in ray_probe() 2023-07-19 16:35:25 +02:00
marvell wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan() 2023-07-19 16:35:22 +02:00
mediatek wifi: mt76: mt7921e: fix init command fail with enabled device 2023-07-19 16:36:53 +02:00
microchip wifi: wilc1000: fix for absent RSN capabilities WFA testcase 2023-07-19 16:35:22 +02:00
purelifi wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() 2022-11-28 15:56:17 +02:00
quantenna wifi: qtnfmac: use struct_size and size_sub for payload length 2023-03-13 15:44:29 +02:00
ralink wifi: rt2x00: Fix memory leak when handling surveys 2023-04-03 16:44:27 +03:00
realtek wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set() 2023-07-23 13:53:49 +02:00
rsi wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown 2023-07-19 16:35:27 +02:00
silabs spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
st net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
ti net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
virtual mac80211_hwsim: fix memory leak in hwsim_new_radio_nl 2023-05-16 10:29:34 -07:00
zydas wifi: zd1211rw: remove redundant decls 2023-02-13 19:25:47 +02:00
Kconfig wifi: move raycs, wl3501 and rndis_wlan to legacy directory 2023-03-13 15:42:14 +02:00
Makefile wifi: move raycs, wl3501 and rndis_wlan to legacy directory 2023-03-13 15:42:14 +02:00