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:
d8773c5
)
input: Add debug logs for attio connection status in HoG code
author
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 16 Jul 2013 10:59:17 +0000
(13:59 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 16 Jul 2013 10:59:17 +0000
(13:59 +0300)
profiles/input/hog.c
patch
|
blob
|
history
diff --git
a/profiles/input/hog.c
b/profiles/input/hog.c
index
93e6566
..
cab70e9
100644
(file)
--- a/
profiles/input/hog.c
+++ b/
profiles/input/hog.c
@@
-647,6
+647,8
@@
static void attio_connected_cb(GAttrib *attrib, gpointer user_data)
struct gatt_primary *prim = hogdev->hog_primary;
GSList *l;
+ DBG("HoG connected");
+
hogdev->attrib = g_attrib_ref(attrib);
if (hogdev->reports == NULL) {
@@
-671,6
+673,8
@@
static void attio_disconnected_cb(gpointer user_data)
struct hog_device *hogdev = user_data;
GSList *l;
+ DBG("HoG disconnected");
+
for (l = hogdev->reports; l; l = l->next) {
struct report *r = l->data;