wifi: rtw89: coex: refactor _chk_btc_report() to extend more features
authorChing-Te Ku <ku920601@realtek.com>
Sat, 17 Dec 2022 14:17:44 +0000 (22:17 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 21 Dec 2022 18:49:25 +0000 (20:49 +0200)
commit31f12cff9d262468a11dc02af48fd1e538e1223f
tree34e870a56e8f326e94807f417cbecf65c6065816
parent0cdfcfce85b6f067f1639550a0aacf2c112a3441
wifi: rtw89: coex: refactor _chk_btc_report() to extend more features

Change the checking logic to switch case. Make the code more readable.
There are more feature including to common code, in order to commit the
following version of the features, switch case will make the logic more
clearly. This patch did not change logic.

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://lore.kernel.org/r/20221217141745.43291-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c