From ab3ff0d2cd5aab8bde5a99cf76e4771eefa7f7a0 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 9 Mar 2023 10:51:46 -0800 Subject: [PATCH] main: Disable EATT by default 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 --git a/src/main.c b/src/main.c index 99d9c508f..8324993f4 100644 --- a/src/main.c +++ b/src/main.c @@ -1024,7 +1024,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 f187c9aaa..b49a588d3 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 [AVDTP] # AVDTP L2CAP Signalling Channel Mode. -- 2.47.3