summaryrefslogtreecommitdiffstats
path: root/hidd/main.c
diff options
context:
space:
mode:
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));