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:
9ae4da9
)
input: Simplify code since UUID is known
author
Mikel Astiz
<mikel.astiz@bmw-carit.de>
Fri, 26 Apr 2013 06:16:59 +0000
(08:16 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 26 Apr 2013 07:12:01 +0000
(10:12 +0300)
The UUID in this code path is fixed so trivially use it instead of
using the provided probe parameter.
profiles/input/manager.c
patch
|
blob
|
history
diff --git
a/profiles/input/manager.c
b/profiles/input/manager.c
index
d30ba67
..
8bbf768
100644
(file)
--- a/
profiles/input/manager.c
+++ b/
profiles/input/manager.c
@@
-59,7
+59,7
@@
static int hid_device_probe(struct btd_profile *p, struct btd_device *device,
GSList *uuids)
{
const char *path = device_get_path(device);
- const sdp_record_t *rec = btd_device_get_record(device,
uuids->data
);
+ const sdp_record_t *rec = btd_device_get_record(device,
HID_UUID
);
DBG("path %s", path);