rtlwifi: btcoex: 23b 1ant: initialize bt_disabled to false
We only want to disable this if bt_disable_cnt is >= 2.
Fixes: f66509e3d7 ("rtlwifi: btcoex: Remove 23b 1ant configuration parameter")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
committed by
Kalle Valo
parent
86aeb82563
commit
e578618934
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user