rtlwifi: btcoex: 21a 2ant: do not check wifi bandwidth
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 13 Apr 2017 18:07:00 +0000 (13:07 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 07:24:05 +0000 (10:24 +0300)
Remove workaround for HT40 issues for RF low pass filter.

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 36e722a33f0f2c0cfca0f1c5fd96e26a80007853..77916ae3d04358d2145633060ff3ff8d93b671e6 100644 (file)
@@ -958,16 +958,6 @@ static void btc8821a2ant_sw_mechanism1(struct btc_coexist *btcoexist,
                                       bool shrink_rx_lpf, bool low_penalty_ra,
                                       bool limited_dig, bool bt_lna_constrain)
 {
-       u32 wifi_bw;
-
-       btcoexist->btc_get(btcoexist, BTC_GET_U4_WIFI_BW, &wifi_bw);
-
-       if (BTC_WIFI_BW_HT40 != wifi_bw) {
-               /*only shrink RF Rx LPF for HT40*/
-               if (shrink_rx_lpf)
-                       shrink_rx_lpf = false;
-       }
-
        btc8821a2ant_low_penalty_ra(btcoexist, NORMAL_EXEC, low_penalty_ra);
 }