[NEXT] rtlwifi: btcoexist: Fix interference between rtl8723be and Bluetooth
diff mbox

Message ID 1431370827-13324-1-git-send-email-Larry.Finger@lwfinger.net
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Larry Finger May 11, 2015, 7 p.m. UTC
From: Daniel Drake <drake@endlessm.com>

During usage of the new Bluetooth driver for Realtek devices, it was found
that BT scans were inhibited for the RTL8723BE when wireless was active. The
exact cause of this interference is not known yet, but a satisfactory work
around has been found that does not seem to have any visible side effects.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Shao Fu <shaofu@realtek.com>
---
 drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Kalle Valo May 26, 2015, 10:49 a.m. UTC | #1
> From: Daniel Drake <drake@endlessm.com>
> 
> During usage of the new Bluetooth driver for Realtek devices, it was found
> that BT scans were inhibited for the RTL8723BE when wireless was active. The
> exact cause of this interference is not known yet, but a satisfactory work
> around has been found that does not seem to have any visible side effects.
> 
> Signed-off-by: Daniel Drake <drake@endlessm.com>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
> Cc: Shao Fu <shaofu@realtek.com>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c b/drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c
index cefe269..f2b9d11 100644
--- a/drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c
+++ b/drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c
@@ -1286,8 +1286,11 @@  static void btc8723b2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec,
 						    0x12, 0xe1, 0x90);
 			break;
 		case 3:
-			btc8723b2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c,
-						    0x3, 0xf1, 0x90);
+			/* This call breaks BT when wireless is active -
+			 * comment it out for now until a better fix is found:
+			 * btc8723b2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x1c,
+			 *			    0x3, 0xf1, 0x90);
+			 */
 			break;
 		case 4:
 			btc8723b2ant_set_fw_ps_tdma(btcoexist, 0xe3, 0x10,