From 73952ca597960043de7c32bd172bc5bc816b324e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 22 Sep 2011 18:51:51 +0300 Subject: [PATCH] Remove use of read_device_id in input plugin Make use of btd_device_get_vendor, btd_device_get_product and btd_device_get_version intead. --- input/device.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/input/device.c b/input/device.c index 70d0ba2ff..9ff7f2061 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) { -- 2.47.3