rtlwifi: btcoex: 21a 1ant: normal mode for retry limit when connected
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 11 May 2017 23:24:35 +0000 (18:24 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 14:08:27 +0000 (17:08 +0300)
When wifi is connected, use normal mode to set retry limit.

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

index 834cf08103b2a42cc0e5611ea2456173d97a078e..3d77d6bb48b10d467299f2e7357bea56bb214419 100644 (file)
@@ -2028,11 +2028,11 @@ static void btc8821a1ant_run_coexist_mechanism(struct btc_coexist *btcoexist)
                            (wifi_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) {
                                btc8821a1ant_limited_tx(btcoexist,
                                                        NORMAL_EXEC, 1, 1,
-                                                       1, 1);
+                                                       0, 1);
                        } else {
                                btc8821a1ant_limited_tx(btcoexist,
                                                        NORMAL_EXEC, 1, 1,
-                                                       1, 1);
+                                                       0, 1);
                        }
                } else {
                        btc8821a1ant_limited_tx(btcoexist, NORMAL_EXEC,