From 6d85d4a83e42783ae352b86c240beec333741b24 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 d53ce3e..d97145d 100755 --- a/src/main.c +++ b/src/main.c @@ -1061,7 +1061,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 cd0bfd0..f10f912 100755 --- a/src/main.conf +++ b/src/main.conf @@ -261,8 +261,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.7.4