rtlwifi: btcoex: 23b 2ant: remove debugging code for 0x948
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 6 Apr 2017 20:19:50 +0000 (15:19 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 13 Apr 2017 14:09:36 +0000 (17:09 +0300)
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.h

index 82a5e53..9c169d0 100644 (file)
@@ -3486,12 +3486,6 @@ static void btc8723b2ant_run_coexist_mechanism(struct btc_coexist *btcoexist)
                         "[BTCoex], BT is under inquiry/page scan !!\n");
                btc8723b2ant_action_bt_inquiry(btcoexist);
                return;
-       } else {
-               if (coex_dm->need_recover_0x948) {
-                       coex_dm->need_recover_0x948 = false;
-                       btcoexist->btc_write_2byte(btcoexist, 0x948,
-                                                  coex_dm->backup_0x948);
-               }
        }
 
        btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan);
index 2c21134..9e29f85 100644 (file)
@@ -134,8 +134,6 @@ struct coex_dm_8723b_2ant {
 
        bool is_switch_to_1dot5_ant;
        u8 switch_thres_offset;
-       bool need_recover_0x948;
-       u16 backup_0x948;
 };
 
 struct coex_sta_8723b_2ant {