Diff between e9c89452a7f3d3474b40b04bfbc685b913791fe7 and 1496665a47cbb563080a219e0726ac0752b611f7

Changed Files

File Additions Deletions Status
profiles/input/hog.c +1 -4 modified

Full Patch

diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index ff0c559..bb3f182 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -858,10 +858,7 @@ static void attio_connected_cb(GAttrib *attrib, gpointer user_data)
 	for (l = hogdev->reports; l; l = l->next) {
 		struct report *r = l->data;
 
-		r->notifyid = g_attrib_register(hogdev->attrib,
-					ATT_OP_HANDLE_NOTIFY,
-					r->decl->value_handle,
-					report_value_cb, r, NULL);
+		enable_report_notifications(r, false);
 	}
 }