Diff between cd1eb0cfbf54111484ae87d2428c78966d4e9d1a and 514f79dfe5fe065175f309ad90e5cffa9e54543b

Changed Files

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

Full Patch

diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c
index 71de3a1..dab385f 100644
--- a/profiles/input/hog-lib.c
+++ b/profiles/input/hog-lib.c
@@ -1406,6 +1406,7 @@ struct bt_hog *bt_hog_new(int fd, const char *name, uint16_t vendor,
 		/* Try creating a DIS instance in case pid/vid are not set */
 		if (!vendor && !product) {
 			hog->dis = bt_dis_new(db);
+			bt_dis_set_notification(hog->dis, dis_notify, hog);
 		}
 	}