OSDN Git Service

HCI: Improve timeout handling
authorMyles Watson <mylesgw@google.com>
Wed, 24 May 2017 20:16:40 +0000 (13:16 -0700)
committerMyles Watson <mylesgw@google.com>
Wed, 31 May 2017 17:38:56 +0000 (17:38 +0000)
commit4788821a0b3c47645deacb3b0047addf192956e2
tree288f982ac17a50d37ec606ae5b24c4e939ef5093
parent2bfb56a2a92c897c8c0648674c51197fa8fe7f0a
HCI: Improve timeout handling

Remove pending commands before enqueueing new ones and log all
pending commands when there is a timeout.

Bug: 37298084
Test: set the timeout to 20ms
Change-Id: I90a48db46a78f75dd78e468ee2d5c948afc1850e
hci/src/hci_layer.cc