OSDN Git Service

btsnoop: Fix TRUE is undefined for btsnoop socket
authorCheney Ni <cheneyni@google.com>
Thu, 4 Feb 2021 10:14:28 +0000 (18:14 +0800)
committerCheney Ni <cheneyni@google.com>
Thu, 4 Feb 2021 10:43:08 +0000 (18:43 +0800)
commitb92dfa268f214a291a969ed1879d0288c0d42373
tree5e24922da32ecb5710e7e94408c39275c6658264
parentad4657cf5d057cd839c5acf6b406ea7c79b9dca6
btsnoop: Fix TRUE is undefined for btsnoop socket

Because TRUE / FALSE macro is moved to bt_target.h, there is no more
such definition if including only bt_types.h.

Bug: 163134718
Tag: #refactor
Test: check BTSnoop socket is running when only BT_NET_DEBUG=true
Change-Id: I7ac1d5aeaf3eb4f910cf4498fb7096b6cf4c9fe7
hci/src/btsnoop_net.cc
hci/src/hci_inject.cc