OSDN Git Service

HCI: Restart 5 seconds after an HCI timeout
authorMyles Watson <mylesgw@google.com>
Fri, 6 Oct 2017 18:22:51 +0000 (11:22 -0700)
committerMyles Watson <mylesgw@google.com>
Wed, 11 Oct 2017 17:05:30 +0000 (17:05 +0000)
Bug: 67209266
Test: build
Change-Id: I69a4a17382742327268a80dbc5c5be49059ecb3c
(cherry picked from commit d48d32d04ae9f4d81012f2146f8e746c4a05a0f9)
Merged-In: I69a4a17382742327268a80dbc5c5be49059ecb3c

hci/src/hci_layer.cc

index 563379f..d1fa920 100644 (file)
@@ -78,7 +78,7 @@ static const int BT_HCI_RT_PRIORITY = 1;
 
 // Abort if there is no response to an HCI command.
 static const uint32_t COMMAND_PENDING_TIMEOUT_MS = 2000;
-static const uint32_t COMMAND_TIMEOUT_RESTART_US = 500000;
+static const uint32_t COMMAND_TIMEOUT_RESTART_US = 5000000;
 
 // Our interface
 static bool interface_created;