All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] neard: Set device name in cache and device object
@ 2012-11-07 11:02 Frédéric Danis
  0 siblings, 0 replies; only message in thread
From: Frédéric Danis @ 2012-11-07 11:02 UTC (permalink / raw)
  To: linux-bluetooth

---
 plugins/neard.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/neard.c b/plugins/neard.c
index 8018977..8f8381c 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -42,6 +42,7 @@
 #include "storage.h"
 #include "agent.h"
 #include "hcid.h"
+#include "event.h"
 
 #define NEARD_NAME "org.neard"
 #define NEARD_PATH "/"
@@ -293,8 +294,8 @@ static int process_eir(struct btd_adapter *adapter, uint8_t *eir, size_t size,
 
 	/* TODO handle incomplete name? */
 	if (eir_data.name)
-		write_device_name(adapter_get_address(adapter), &eir_data.addr,
-						BDADDR_BREDR, eir_data.name);
+		btd_event_remote_name(adapter_get_address(adapter),
+					&eir_data.addr, eir_data.name);
 
 	if (eir_data.hash)
 		btd_adapter_add_remote_oob_data(adapter, &eir_data.addr,
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-07 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 11:02 [PATCH] neard: Set device name in cache and device object Frédéric Danis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.