mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
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
This commit is contained in:
parent
6d2a479c1f
commit
c7d2b22f52
|
|
@ -4602,7 +4602,7 @@ static void _update_bt_scbd(struct rtw89_dev *rtwdev, bool only_update)
|
|||
|
||||
bt->whql_test = !!(val & BTC_BSCB_WHQL);
|
||||
bt->btg_type = val & BTC_BSCB_BT_S1 ? BTC_BT_BTG : BTC_BT_ALONE;
|
||||
bt->link_info.a2dp_desc.active = !!(val & BTC_BSCB_A2DP_ACT);
|
||||
bt->link_info.a2dp_desc.exist = !!(val & BTC_BSCB_A2DP_ACT);
|
||||
|
||||
/* if rfk run 1->0 */
|
||||
if (bt->rfk_info.map.run && !(val & BTC_BSCB_RFK_RUN))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user