]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rtlwifi: btcoexist: Fix interference between rtl8723be and Bluetooth
authorDaniel Drake <drake@endlessm.com>
Mon, 11 May 2015 19:00:27 +0000 (14:00 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 10:48:16 +0000 (13:48 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c

index cefe26991421b8e42c22ba6ef6beb4be0adb9d95..f2b9d11adc9eadca0d1cc833614c4c7cc69536c0 100644 (file)
@@ -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,