]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: btcoex: Remove 92e 2ant configuration parameter
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 4 May 2017 18:47:01 +0000 (13:47 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 14:06:44 +0000 (17:06 +0300)
commit0d097c49b8f57f213b2dfc2f0b9c8a9b368ae619
tree157b544b26bce7b9a2e3edfafbdcd49c899edd10
parentb236b1bf3d6302611a75c8dfb8ee15e2e2396124
rtlwifi: btcoex: Remove 92e 2ant configuration parameter

In file halbtc8192e2ant.c, there are directives that depend on an
undocumented configuration parameter BT_AUTO_REPORT_ONLY_8192E_2ANT
that cannot be set from Kconfig. This parameter is replaced by a
boolean in the main structure used by all routines. It still cannot
be changed dynamically, but it is easier to document.

Upon the advice of Realtek, the auto report option is turned on with
this patch.

Routine btc8192e2ant_is_wifi_status_changed() is restored.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
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/halbtc8192e2ant.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.h