Просмотр исходного кода

components/bt: Fixed the state not synchronized between controller and host when disconnected.

wangcheng 5 лет назад
Родитель
Сommit
f8fd58d7f6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/bt/host/bluedroid/stack/l2cap/include/l2c_int.h

+ 1 - 1
components/bt/host/bluedroid/stack/l2cap/include/l2c_int.h

@@ -51,7 +51,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 */