diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-09-16 23:15:16 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-09-16 23:15:16 +0000 |
commit | 17efd1ab818abdacbfdf24edbe97a52f8896def5 (patch) | |
tree | 23dd3dc0e7e64d63e02bfb83c43f95b946a71a93 /hidd/main.c | |
parent | 9f2da763372bb5b64840443b51a02c3861c66d57 (diff) |
Find J-Three keyboard on inquiry
Diffstat (limited to 'hidd/main.c')
-rw-r--r-- | hidd/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hidd/main.c b/hidd/main.c index 816c7ca6..932a0858 100644 --- a/hidd/main.c +++ b/hidd/main.c @@ -547,7 +547,8 @@ static void do_search(int ctl, bdaddr_t *bdaddr, uint8_t subclass, int fakehid, for (i = 0; i < num_rsp; i++) { memcpy(class, (info+i)->dev_class, 3); - if (class[0] == 0x00 && class[1] == 0x40 && class[2] == 0x00) { + if (class[0] == 0x00 && class[2] == 0x00 && + (class[1] == 0x40 || class[1] == 0x1f)) { bacpy(&dst, &(info+i)->bdaddr); ba2str(&dst, addr); |