Skip to content

Instantly share code, notes, and snippets.

@anarsoul
Created November 1, 2018 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anarsoul/ed9b1e58bc40bc0fd6299041b9e8ce10 to your computer and use it in GitHub Desktop.
Save anarsoul/ed9b1e58bc40bc0fd6299041b9e8ce10 to your computer and use it in GitHub Desktop.
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 74b29c7d841c..2eb8ec0c161e 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -25,6 +25,8 @@
/* Bluetooth HCI core. */
+#define DEBUG
+
#include <linux/export.h>
#include <linux/idr.h>
#include <linux/rfkill.h>
@@ -825,7 +827,7 @@ static int hci_init4_req(struct hci_request *req, unsigned long opt)
hci_req_add(req, HCI_OP_GET_MWS_TRANSPORT_CONFIG, 0, NULL);
/* Check for Synchronization Train support */
- if (lmp_sync_train_capable(hdev))
+ if (0) //lmp_sync_train_capable(hdev))
hci_req_add(req, HCI_OP_READ_SYNC_TRAIN_PARAMS, 0, NULL);
/* Enable Secure Connections if supported and configured */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment