summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 0fabed40..9deeccb2 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -630,6 +630,8 @@ int main(int argc, char *argv[], char *env[])
sigaction(SIGCHLD, &sa, NULL);
sigaction(SIGPIPE, &sa, NULL);
+ enable_debug();
+
/* Create and bind HCI socket */
if ((hcid.sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI)) < 0) {
syslog(LOG_ERR, "Can't open HCI socket: %s (%d)",