diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-14 19:13:43 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-14 19:13:43 +0200 |
commit | d55b2b10927a7ac07c82c50be6216c32711d94a6 (patch) | |
tree | ffb393061fa122e2c860cdd250b3042870f48c95 /input | |
parent | 4e8b2c9771b5a00218989c873e02cf38084fefeb (diff) |
Don't bother with the source value for input devices
Diffstat (limited to 'input')
-rw-r--r-- | input/device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/input/device.c b/input/device.c index 388fe9e2..292bb779 100644 --- a/input/device.c +++ b/input/device.c @@ -606,7 +606,6 @@ static int hidp_add_connection(const struct input_device *idev, struct fake_hid *fake_hid; struct fake_input *fake; sdp_record_t *rec; - uint16_t source; char src_addr[18], dst_addr[18]; int err; @@ -629,7 +628,7 @@ static int hidp_add_connection(const struct input_device *idev, extract_hid_record(rec, req); sdp_record_free(rec); - read_device_id(src_addr, dst_addr, &source, + read_device_id(src_addr, dst_addr, NULL, &req->vendor, &req->product, &req->version); fake_hid = get_fake_hid(req->vendor, req->product); |