OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a2ea0f
)
HCI: Restart 5 seconds after an HCI timeout
author
Myles Watson
<mylesgw@google.com>
Fri, 6 Oct 2017 18:22:51 +0000
(11:22 -0700)
committer
Myles 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
patch
|
blob
|
history
diff --git
a/hci/src/hci_layer.cc
b/hci/src/hci_layer.cc
index
563379f
..
d1fa920
100644
(file)
--- a/
hci/src/hci_layer.cc
+++ b/
hci/src/hci_layer.cc
@@
-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 = 500000
0
;
// Our interface
static bool interface_created;