mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 10:49:28 +00:00
Bluetooth: Respect HCI_UART_DEBUG config in hci_ll.c
Following the pattern from hci_*.c, turn off BT_DBG messages unless they have been requested via HCI_UART_DEBUG Signed-off-by: Nick Pelly <npelly@google.com> Acked-by: Brian Swetland <swetland@google.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
51a6fbc855
commit
7b99d17f3e
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,11 @@
|
||||||
|
|
||||||
#include "hci_uart.h"
|
#include "hci_uart.h"
|
||||||
|
|
||||||
|
#ifndef CONFIG_BT_HCIUART_DEBUG
|
||||||
|
#undef BT_DBG
|
||||||
|
#define BT_DBG( A... )
|
||||||
|
#endif
|
||||||
|
|
||||||
/* HCILL commands */
|
/* HCILL commands */
|
||||||
#define HCILL_GO_TO_SLEEP_IND 0x30
|
#define HCILL_GO_TO_SLEEP_IND 0x30
|
||||||
#define HCILL_GO_TO_SLEEP_ACK 0x31
|
#define HCILL_GO_TO_SLEEP_ACK 0x31
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue