]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: btcoexist: Fix antenna selection code
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 4 Sep 2017 17:51:34 +0000 (12:51 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Sep 2017 12:55:56 +0000 (15:55 +0300)
commit82a5d24af193a2a77d80b856edbd948df4b57b43
tree4d85aaa2a7622346039a4b26f5c353b6a09784f5
parent1c23ed5c42577e21ffaa1d6b9d5e63cb79f3eda3
rtlwifi: btcoexist: Fix antenna selection code

In commit b19af9cc9595 ("rtlwifi: btcoex: call bind to setup btcoex"),
the code turns on a call to exhalbtc_bind_bt_coex_withadapter(). This
routine contains a bug that causes incorrect antenna selection for those
HP laptops with only one antenna and an incorrectly programmed EFUSE.
These boxes are the ones that need the ant_sel module parameter.

Fixes: b19af9cc9595 ("rtlwifi: btcoex: call bind to setup btcoex")
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Cc: Stable <stable@vger.kernel.org> # 4.13+
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c