summaryrefslogtreecommitdiffstats
path: root/hidd/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-05-08 17:22:23 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-05-08 17:22:23 +0000
commitb4d9988bdaadfe79fd802793e16ef1f77f8c537c (patch)
tree996537ea130dbc3af6cb239195d73d52f1d678e6 /hidd/main.c
parent258887a0f6a798cc021837c3f686d02ff317d271 (diff)
Wait until the SDP connection is closed
Diffstat (limited to 'hidd/main.c')
-rw-r--r--hidd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hidd/main.c b/hidd/main.c
index 25567c9e..98a8f12a 100644
--- a/hidd/main.c
+++ b/hidd/main.c
@@ -430,7 +430,7 @@ static void do_connect(int ctl, bdaddr_t *src, bdaddr_t *dst, uint8_t subclass,
exit(1);
}
- err = create_device(ctl, csk, isk, subclass, nosdp, encrypt, timeout);
+ err = create_device(ctl, csk, isk, subclass, 1, encrypt, timeout);
if (err < 0) {
fprintf(stderr, "HID create error %d (%s)\n",
errno, strerror(errno));