diff options
author | Ching-Te Ku <ku920601@realtek.com> | 2023-12-18 09:13:37 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-12-20 21:27:42 +0300 |
commit | 0c1829dc7a5d0a9f7df952c543a5c86820d557c7 (patch) | |
tree | 4ed4b5e1cbc47b7d1cb17514d55ae8067d67cf02 /drivers/net/wireless | |
parent | 94fb737042c1c850c138eef7c661c3ea1d18ccab (diff) | |
download | linux-0c1829dc7a5d0a9f7df952c543a5c86820d557c7.tar.xz |
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
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/coex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/coex.c b/drivers/net/wireless/realtek/rtw89/coex.c index e89af5915657..43a95f9b0868 100644 --- a/drivers/net/wireless/realtek/rtw89/coex.c +++ b/drivers/net/wireless/realtek/rtw89/coex.c @@ -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; } |