Bluetooth: Add Bluetooth HCI core specific debug support
Configuration option BLUETOOTH_DEBUG_HCI_CORE enables debug support for Bluetooth HCI core. This allows us to fine tune debug output. Change-Id: Ibc9a90192b8f3318f9683cef4781d0c3d6ae9f7b Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
ea1f5f3785
commit
cc90fafaf0
|
@ -59,6 +59,15 @@ config BLUETOOTH_DEBUG_UART
|
|||
This option enables debug support for Bluetooth UART
|
||||
driver
|
||||
|
||||
config BLUETOOTH_DEBUG_HCI_CORE
|
||||
bool
|
||||
prompt "Bluetooth HCI core debug"
|
||||
depends on BLUETOOTH_DEBUG
|
||||
default n
|
||||
help
|
||||
This option enables debug support for Bluetooth HCI
|
||||
core
|
||||
|
||||
config BLUETOOTH_UART
|
||||
bool
|
||||
prompt "Bluetooth UART driver"
|
||||
|
|
|
@ -42,6 +42,11 @@
|
|||
#include "hci_core.h"
|
||||
#include "conn.h"
|
||||
|
||||
#if !defined(CONFIG_BLUETOOTH_DEBUG_HCI_CORE)
|
||||
#undef BT_DBG
|
||||
#define BT_DBG(fmt, ...)
|
||||
#endif
|
||||
|
||||
/* How many buffers to use for incoming ACL data */
|
||||
#define ACL_IN_MAX 7
|
||||
#define ACL_OUT_MAX 7
|
||||
|
|
Loading…
Reference in New Issue