diff options
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c')
| -rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c index 202597cf8915..b5d65872db84 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c | |||
| @@ -1584,11 +1584,7 @@ static void btc8821a1ant_act_bt_sco_hid_only_busy(struct btc_coexist *btcoexist, | |||
| 1584 | /* tdma and coex table */ | 1584 | /* tdma and coex table */ |
| 1585 | btc8821a1ant_ps_tdma(btcoexist, NORMAL_EXEC, true, 5); | 1585 | btc8821a1ant_ps_tdma(btcoexist, NORMAL_EXEC, true, 5); |
| 1586 | 1586 | ||
| 1587 | if (BT_8821A_1ANT_WIFI_STATUS_NON_CONNECTED_ASSO_AUTH_SCAN == | 1587 | btc8821a1ant_coex_table_with_type(btcoexist, NORMAL_EXEC, 1); |
| 1588 | wifi_status) | ||
| 1589 | btc8821a1ant_coex_table_with_type(btcoexist, NORMAL_EXEC, 1); | ||
| 1590 | else | ||
| 1591 | btc8821a1ant_coex_table_with_type(btcoexist, NORMAL_EXEC, 1); | ||
| 1592 | } | 1588 | } |
| 1593 | 1589 | ||
| 1594 | static void btc8821a1ant_act_wifi_con_bt_acl_busy(struct btc_coexist *btcoexist, | 1590 | static void btc8821a1ant_act_wifi_con_bt_acl_busy(struct btc_coexist *btcoexist, |
| @@ -1991,16 +1987,9 @@ static void btc8821a1ant_run_coexist_mechanism(struct btc_coexist *btcoexist) | |||
| 1991 | wifi_rssi_state = | 1987 | wifi_rssi_state = |
| 1992 | btc8821a1ant_wifi_rssi_state(btcoexist, 1, 2, | 1988 | btc8821a1ant_wifi_rssi_state(btcoexist, 1, 2, |
| 1993 | 30, 0); | 1989 | 30, 0); |
| 1994 | if ((wifi_rssi_state == BTC_RSSI_STATE_HIGH) || | 1990 | btc8821a1ant_limited_tx(btcoexist, |
| 1995 | (wifi_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { | 1991 | NORMAL_EXEC, 1, 1, |
| 1996 | btc8821a1ant_limited_tx(btcoexist, | 1992 | 0, 1); |
| 1997 | NORMAL_EXEC, 1, 1, | ||
| 1998 | 0, 1); | ||
| 1999 | } else { | ||
| 2000 | btc8821a1ant_limited_tx(btcoexist, | ||
| 2001 | NORMAL_EXEC, 1, 1, | ||
| 2002 | 0, 1); | ||
| 2003 | } | ||
| 2004 | } else { | 1993 | } else { |
| 2005 | btc8821a1ant_limited_tx(btcoexist, NORMAL_EXEC, | 1994 | btc8821a1ant_limited_tx(btcoexist, NORMAL_EXEC, |
| 2006 | 0, 0, 0, 0); | 1995 | 0, 0, 0, 0); |
