* [PATCH BlueZ] Fix Device UUIDs property list being sent empty
@ 2011-09-19 13:22 Claudio Takahasi
2011-09-27 9:29 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Claudio Takahasi @ 2011-09-19 13:22 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Claudio Takahasi
When creating a new device, the UUIDs list is updated in the device
probing function. This patch moves the function call which emit the
signal after the device driver probing.
---
src/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/device.c b/src/device.c
index 1a0136b..4d6aa98 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1644,7 +1644,6 @@ static void primary_cb(GSList *services, guint8 status, gpointer user_data)
goto done;
}
- services_changed(device);
device_set_temporary(device, FALSE);
for (l = services; l; l = l->next) {
@@ -1672,6 +1671,7 @@ static void primary_cb(GSList *services, guint8 status, gpointer user_data)
g_slist_free(uuids);
+ services_changed(device);
create_device_reply(device, req);
store_services(device);
--
1.7.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-27 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19 13:22 [PATCH BlueZ] Fix Device UUIDs property list being sent empty Claudio Takahasi
2011-09-27 9:29 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).