wifi: rtw89: coex: Correct A2DP exist variable source
authorChing-Te Ku <ku920601@realtek.com>
Tue, 17 Jan 2023 11:41:07 +0000 (19:41 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 13 Feb 2023 17:04:17 +0000 (19:04 +0200)
commitc7d2b22f52bd0088cd39dba57bb7c1e8f3df5489
tree6c3368768a840f8577d048d2e36c575f9c6c9223
parent6d2a479c1f9e957908d0fc9d56b9831a48f5ce80
wifi: rtw89: coex: Correct A2DP exist variable source

When Wi-Fi enter and leave LPS, coexistence driver need to know
is there A2DP exist or not. And when Wi-Fi sleep in deep power save
state will not able to receive mailbox sent from Bluetooth. So update
the A2DP exist information from reading register.

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/20230117114109.4298-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c