OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a5786
)
fix fake hid detection by looking up pnp info
author
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 14 Sep 2008 03:13:30 +0000
(20:13 -0700)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 14 Sep 2008 03:13:30 +0000
(20:13 -0700)
input/device.c
patch
|
blob
|
history
diff --git
a/input/device.c
b/input/device.c
index
ee6f936
..
5caa58e
100644
(file)
--- a/
input/device.c
+++ b/
input/device.c
@@
-628,6
+628,9
@@
static int hidp_add_connection(const struct input_device *idev,
extract_hid_record(rec, req);
sdp_record_free(rec);
+ read_pnp(src_addr, dst_addr, &req->vendor, &req->product,
+ &req->version);
+
fake_hid = get_fake_hid(req->vendor, req->product);
if (fake_hid) {
fake = g_new0(struct fake_input, 1);