]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 4 Sep 2017 17:51:33 +0000 (12:51 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Sep 2017 12:55:56 +0000 (15:55 +0300)
commit1c23ed5c42577e21ffaa1d6b9d5e63cb79f3eda3
tree8c7f278cf9ef0ab1ae7b49ab03919fc1efd8f7c1
parent73137a1185d5c1ce5585bbed6136ab57614bc054
rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be

In commit dd149b93d882 ("rtlwifi: btcoex: 23b 2ant: let bt transmit when
hw initialisation done"), there is an additional error when the module
parameter ant_sel is used to select the auxilary antenna. The error is
that the antenna selection is not checked when writing the antenna
selection register.

Fixes: dd149b93d882 ("rtlwifi: btcoex: 23b 2ant: let bt transmit when hw initialisation done")
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.12+
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c