diff mbox

Fix device_match_pattern function

Message ID 1274349303-19044-1-git-send-email-sancane@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Santiago Carot-Nemesio May 20, 2010, 9:55 a.m. UTC
None
diff mbox

Patch

diff --git a/src/device.c b/src/device.c
index 6ba1612..d0768ce 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1053,7 +1053,7 @@  static GSList *device_match_pattern(struct btd_device *device,
 			continue;
 
 		if (record_has_uuid(rec, match_uuid))
-			uuids = g_slist_append(uuids, profile_uuid);
+			uuids = g_slist_append(uuids, match_uuid);
 	}
 
 	return uuids;