rtlwifi: btcoex: 21a 2ant: let PTA circuit control the switch
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 13 Apr 2017 18:07:05 +0000 (13:07 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 07:24:07 +0000 (10:24 +0300)
Register 0xcb4 determines if the PTA circuit can control the swtich

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/halbtc8821a2ant.c

index 7b2fb62947da23922e9e3aa10a26adc8850ac374..6faa53ee821d2e893d8898e36285289a516e9142 100644 (file)
@@ -1109,7 +1109,6 @@ static void btc8821a2ant_set_ant_path(struct btc_coexist *btcoexist,
                btcoexist->btc_write_4byte(btcoexist, 0x4c, u4tmp);
 
                btcoexist->btc_write_4byte(btcoexist, 0x974, 0x3ff);
-               btcoexist->btc_write_1byte(btcoexist, 0xcb4, 0x77);
 
                if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) {
                        /* tell firmware "antenna inverse"  ==> WRONG firmware