diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-09 19:43:40 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-09 19:43:40 +0000 |
commit | a476163c9d9ee1c1c295ce3f9bc8858d33d51b92 (patch) | |
tree | bfced2faad249113fd78b4b4d79bdf11bb9242fe /hcid/main.c | |
parent | 0df89f0370532854e929d68ef2836a84693acd65 (diff) |
Make debug messages optional, but enable it by default
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 2 |
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)", |