Diff between 274ed938c24daa9db71d303c413f121b797c53a5 and e1805bb500933fe49047ac2c29a857f22a4b86da

Changed Files

File Additions Deletions Status
profiles/input/hog_manager.c +3 -0 modified

Full Patch

diff --git a/profiles/input/hog_manager.c b/profiles/input/hog_manager.c
index 362c38a..9dbaff2 100644
--- a/profiles/input/hog_manager.c
+++ b/profiles/input/hog_manager.c
@@ -91,6 +91,9 @@ static int hog_device_probe(struct btd_profile *p, struct btd_device *device,
 		struct gatt_primary *prim = l->data;
 		struct hog_device *hogdev;
 
+		if (strcmp(prim->uuid, HOG_UUID) != 0)
+			continue;
+
 		hogdev = hog_device_register(device, prim);
 		if (hogdev == NULL)
 			continue;