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: 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>
2023-07-12 17:52:37 -07:00
..
2023-06-29 11:00:17 -07:00
2023-07-03 12:56:23 -07:00
2023-06-29 11:00:17 -07:00
2023-07-03 12:56:23 -07:00
2023-06-28 16:43:10 -07:00
2023-06-29 08:09:31 -06:00
2023-07-03 15:38:26 -07:00
2023-07-03 15:38:26 -07:00
2023-06-29 16:03:58 -07:00
2023-06-29 11:00:17 -07:00
2023-06-29 21:12:20 -07:00
2023-06-29 11:00:17 -07:00
2023-07-03 12:56:23 -07:00
2023-07-02 10:22:38 -07:00
2023-07-03 12:56:23 -07:00
2023-06-29 15:28:33 -07:00
2023-06-29 20:57:27 -07:00
2023-07-03 11:26:05 -07:00
2023-07-03 18:48:38 -07:00
2023-07-05 10:42:32 -07:00
2023-06-22 17:34:02 +02:00
2023-07-03 10:55:04 -07:00
2023-06-29 10:11:10 -07:00
2023-06-28 14:02:03 -07:00
2023-06-29 14:58:26 -07:00
2023-06-30 15:06:45 -07:00
2023-07-01 08:58:41 -07:00
2023-07-05 10:42:32 -07:00
2023-06-29 15:22:19 -07:00
2023-07-05 12:55:06 -07:00
2023-07-03 10:55:04 -07:00
2023-07-03 17:03:05 -07:00
2023-06-29 15:22:19 -07:00
2023-07-03 10:43:10 -07:00
2023-06-30 11:57:07 -07:00
2023-06-28 13:48:42 -07:00
2023-07-05 10:42:32 -07:00
2023-06-30 11:57:07 -07:00
2023-06-29 15:22:19 -07:00
2023-06-30 11:57:07 -07:00
2023-07-03 15:38:26 -07:00
2023-06-30 15:22:09 -07:00
2023-07-03 15:38:26 -07:00
2023-07-03 11:31:01 -07:00