Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5786189 authored by Dan Carpenter's avatar Dan Carpenter Committed by Kalle Valo
Browse files

rtlwifi: btcoex: 23b 1ant: initialize bt_disabled to false



We only want to disable this if bt_disable_cnt is >= 2.

Fixes: f66509e3 ("rtlwifi: btcoex: Remove 23b 1ant configuration parameter")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 86aeb825
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1704,7 +1704,7 @@ static void halbtc8723b1ant_monitor_bt_enable_disable(struct btc_coexist
{
	struct rtl_priv *rtlpriv = btcoexist->adapter;
	static u32 bt_disable_cnt;
	bool bt_active = true, bt_disabled;
	bool bt_active = true, bt_disabled = false;

	if (coex_sta->high_priority_tx == 0 &&
	    coex_sta->high_priority_rx == 0 && coex_sta->low_priority_tx == 0 &&