Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] Merge service UUIDs from different BR/EDR EIR data
@ 2010-11-19 14:50 Anderson Lizardo
  2010-11-19 14:50 ` [PATCH 2/2] Avoid reallocations of services UUID array Anderson Lizardo
  2010-11-19 15:29 ` [PATCH 1/2] Merge service UUIDs from different BR/EDR EIR data Johan Hedberg
  0 siblings, 2 replies; 4+ messages in thread
From: Anderson Lizardo @ 2010-11-19 14:50 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Lizardo

For LE devices, service UUIDs present in advertising data are merged
into a single list. This change makes the same thing for BR/EDR devices.
---
 src/adapter.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/adapter.c b/src/adapter.c
index 8136229..c650a63 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3004,12 +3004,6 @@ void adapter_emit_device_found(struct btd_adapter *adapter,
 	} else
 		alias = g_strdup(dev->alias);
 
-	if (dev->services) {
-		g_slist_foreach(dev->services, (GFunc) g_free, NULL);
-		g_slist_free(dev->services);
-		dev->services = NULL;
-	}
-
 	emit_device_found(adapter->path, paddr,
 			"Address", DBUS_TYPE_STRING, &paddr,
 			"Class", DBUS_TYPE_UINT32, &dev->class,
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-19 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19 14:50 [PATCH 1/2] Merge service UUIDs from different BR/EDR EIR data Anderson Lizardo
2010-11-19 14:50 ` [PATCH 2/2] Avoid reallocations of services UUID array Anderson Lizardo
2010-11-19 14:53   ` Anderson Lizardo
2010-11-19 15:29 ` [PATCH 1/2] Merge service UUIDs from different BR/EDR EIR data Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox