From 3622e29465b94b0de8355bb8b3e0b021b138ab63 Mon Sep 17 00:00:00 2001 From: wangcheng Date: Thu, 3 Dec 2020 19:29:06 +0800 Subject: [PATCH] components/bt: Fixed the state not synchronized between controller and host when disconnected. --- components/bt/bluedroid/stack/l2cap/include/l2c_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/stack/l2cap/include/l2c_int.h b/components/bt/bluedroid/stack/l2cap/include/l2c_int.h index 7cfbc2003a..1a73cf8640 100644 --- a/components/bt/bluedroid/stack/l2cap/include/l2c_int.h +++ b/components/bt/bluedroid/stack/l2cap/include/l2c_int.h @@ -52,7 +52,7 @@ #define L2CAP_LINK_CONNECT_TOUT_EXT 120 /* 120 seconds */ #define L2CAP_ECHO_RSP_TOUT 30 /* 30 seconds */ #define L2CAP_LINK_FLOW_CONTROL_TOUT 2 /* 2 seconds */ -#define L2CAP_LINK_DISCONNECT_TOUT 30 /* 30 seconds */ +#define L2CAP_LINK_DISCONNECT_TOUT 45 /* 45 seconds */ #ifndef L2CAP_CHNL_CONNECT_TOUT /* BTIF needs to override for internal project needs */ #define L2CAP_CHNL_CONNECT_TOUT 60 /* 60 seconds */