OSDN Git Service

GD-HCI: Send original command instead of status packet upwards
authorJack He <siyuanh@google.com>
Fri, 21 Aug 2020 20:29:20 +0000 (13:29 -0700)
committerJack He <siyuanh@google.com>
Fri, 21 Aug 2020 20:34:25 +0000 (13:34 -0700)
commitc2ebb0b45dbdbfc7f4860eafb9f68d2a2e128df3
treedb515457af012a5e40fda967ce35f40303b6d41f
parentfa72a7eb5bf76a2755c771f80f1815c3f51a4f59
GD-HCI: Send original command instead of status packet upwards

* Legacy stack expects original command when command status is available
* Add verbose logging for command complete and command status
* Wrap pending command in OsiObject so that it can be auto-freed by
  C++ unique_ptr

Bug: 165181021
Test: make, flash, test A2DP and HFP
Tag: #gd-refactor
Change-Id: Iddb20c405dc2f0326de53d3531464cbba65d6076
main/shim/hci_layer.cc