Diff between 5600f99bd941f5d44eb3c690e15a0f125fbd23f4 and 73952ca597960043de7c32bd172bc5bc816b324e

Changed Files

File Additions Deletions Status
input/device.c +3 -2 modified

Full Patch

diff --git a/input/device.c b/input/device.c
index 70d0ba2..9ff7f20 100644
--- a/input/device.c
+++ b/input/device.c
@@ -596,8 +596,9 @@ 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, NULL,
-				&req->vendor, &req->product, &req->version);
+	req->vendor = btd_device_get_vendor(idev->device);
+	req->product = btd_device_get_product(idev->device);
+	req->version = btd_device_get_version(idev->device);
 
 	fake_hid = get_fake_hid(req->vendor, req->product);
 	if (fake_hid) {