On 05/11/2017 06:54 AM, Kalle Valo wrote:
Larry Finger <larry.fin...@lwfinger.net> writes:

From: Yan-Hsuan Chuang <yhchu...@realtek.com>

The driver will periodically ask the coex, and the coex only runs the
mechanism when the status was changed or the auto adjust is set.

Signed-off-by: Yan-Hsuan Chuang <yhchu...@realtek.com>
Signed-off-by: Larry Finger <larry.fin...@lwfinger.net>
Cc: Pkshih <pks...@realtek.com>
Cc: Birming Chiu <birm...@realtek.com>
Cc: Shaofu <sha...@realtek.com>
Cc: Steven Ting <stevent...@realtek.com>

[...]

+#ifdef BT_AUTO_REPORT_ONLY_8821A_2ANT
        btc8821a2ant_query_bt_info(btcoexist);
+#else
        btc8821a2ant_monitor_bt_ctr(btcoexist);
        btc8821a2ant_monitor_wifi_ctr(btcoexist);
+
+       if (btc8821a2ant_is_wifi_status_changed(btcoexist) ||
+           coex_dm->auto_tdma_adjust)
+               btc8821a2ant_run_coexist_mechanism(btcoexist);
+#endif

Isn't this adding dead code again?

Yes it is. V3 just submitted. The typos in patch 8 have also been fixed.

Thanks,

Larry


Reply via email to