wifi: rtw89: coex: add return value to ensure H2C command is success or not
authorChing-Te Ku <ku920601@realtek.com>
Thu, 29 Feb 2024 07:45:12 +0000 (15:45 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 5 Mar 2024 18:54:46 +0000 (20:54 +0200)
commiteae888cfb73483ccf8175da9bbc8cc2e313c7083
tree493cc850075319434aa67506c1dcbfc02419d6c8
parent6ee10fcd284df946139fffe540e022aa13866b5f
wifi: rtw89: coex: add return value to ensure H2C command is success or not

Add return value to H2C function, and only record down the value while
H2C command success, this can help us to check the real time status.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240229074514.219276-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c
drivers/net/wireless/realtek/rtw89/coex.h