aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2008-11-30 06:17:20 -0500
committerMarcel Holtmann <marcel@holtmann.org>2008-11-30 06:17:20 -0500
commit7b99d17f3ea1febd1abca8fa371d2341dd957d4a (patch)
treee1b3bf0cb84ed511b044298528eecb2f72a12077 /drivers/bluetooth
parent51a6fbc855b07a0737558560dd0ab0b5f646025b (diff)
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>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_ll.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c
index b91d45a41b2f..2d2f66e17fea 100644
--- a/drivers/bluetooth/hci_ll.c
+++ b/drivers/bluetooth/hci_ll.c
@@ -51,6 +51,11 @@
51 51
52#include "hci_uart.h" 52#include "hci_uart.h"
53 53
54#ifndef CONFIG_BT_HCIUART_DEBUG
55#undef BT_DBG
56#define BT_DBG( A... )
57#endif
58
54/* HCILL commands */ 59/* HCILL commands */
55#define HCILL_GO_TO_SLEEP_IND 0x30 60#define HCILL_GO_TO_SLEEP_IND 0x30
56#define HCILL_GO_TO_SLEEP_ACK 0x31 61#define HCILL_GO_TO_SLEEP_ACK 0x31