diff mbox series

[BlueZ,1/2] main: Disable EATT by default

Message ID 20230310000354.3404030-1-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,1/2] main: Disable EATT by default | expand

Commit Message

Luiz Augusto von Dentz March 10, 2023, 12:03 a.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

EATT is causing some problem with some platforms as they also attempt to
configure it may cause a connection collision which needs to be handled
by the kernel.
---
 src/main.c    | 2 +-
 src/main.conf | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index 2a4d9be05d7a..3198091fc12c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1148,7 +1148,7 @@  static void init_defaults(void)
 
 	btd_opts.gatt_cache = BT_GATT_CACHE_ALWAYS;
 	btd_opts.gatt_mtu = BT_ATT_MAX_LE_MTU;
-	btd_opts.gatt_channels = 3;
+	btd_opts.gatt_channels = 1;
 
 	btd_opts.avdtp.session_mode = BT_IO_MODE_BASIC;
 	btd_opts.avdtp.stream_mode = BT_IO_MODE_BASIC;
diff --git a/src/main.conf b/src/main.conf
index 11172c9dd7c6..d108934a8ae9 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -255,8 +255,8 @@ 
 
 # Number of ATT channels
 # Possible values: 1-5 (1 disables EATT)
-# Default to 3
-#Channels = 3
+# Default to 1
+#Channels = 1
 
 [CSIS]
 # SIRK - Set Identification Resolution Key which is common for all the