From a476163c9d9ee1c1c295ce3f9bc8858d33d51b92 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 9 Mar 2006 19:43:40 +0000 Subject: Make debug messages optional, but enable it by default --- hcid/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hcid/main.c') 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)", -- cgit