OSDN Git Service

HCI: Set a timer to abort after a timeout
authorMyles Watson <mylesgw@google.com>
Sat, 24 Feb 2018 01:28:23 +0000 (17:28 -0800)
committerMyles Watson <mylesgw@google.com>
Mon, 26 Feb 2018 23:43:00 +0000 (23:43 +0000)
commit5c550c1e1c14e3a562befb478001ca839b5def8f
tree48bef84c2704851584392ac1eab2f5418347db7b
parent8f081e4575cf3d180e314f89230aa92df6cdea1f
HCI: Set a timer to abort after a timeout

Add code to clean up the timer and close the file whether
abort gets called or not.

Bug: 72719600
Bug: 72474659
Test: Cause an HCI timeout and wait for the firmware dump
Change-Id: I713f440d77bfad4c9f17dfc57f98ba5bada37fff
hci/src/hci_layer.cc