mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
wifi: rtw89: coex: Set Bluetooth scan low-priority when Wi-Fi link/scan
To avoid Bluetooth reconnecting/pairing fail during Wi-Fi is link/scan, especially the Bluetooth connect event after the platform restart/boot up. 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/20231218061341.51255-8-pkshih@realtek.com
This commit is contained in:
parent
94fb737042
commit
0c1829dc7a
|
|
@ -5419,12 +5419,14 @@ void _run_coex(struct rtw89_dev *rtwdev, enum btc_reason_and_action reason)
|
|||
if (mode == BTC_WLINK_NOLINK || mode == BTC_WLINK_2G_STA ||
|
||||
mode == BTC_WLINK_5G) {
|
||||
_action_wl_scan(rtwdev);
|
||||
bt->scan_rx_low_pri = false;
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
||||
if (wl->status.map.scan) {
|
||||
_action_wl_scan(rtwdev);
|
||||
bt->scan_rx_low_pri = false;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user