public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] honour commandline --device in test/agent.c
@ 2009-06-06 20:56 Filippo Giunchedi
  0 siblings, 0 replies; only message in thread
From: Filippo Giunchedi @ 2009-06-06 20:56 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel...

Hi,
as per subject, make --device in test/agent.c actually work

thanks,
filippo
---
 test/agent.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/agent.c b/test/agent.c
index b256f52..7cd4b6e 100644
--- a/test/agent.c
+++ b/test/agent.c
@@ -283,7 +283,7 @@ static char *get_device(const char *device)
 {
 	char *path;
 
-	path = strdup("/org/bluez/hci0");
+	path = strdup(device);
 
 	return path;
 }
-- 
1.6.3.1

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

only message in thread, other threads:[~2009-06-06 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 20:56 [PATCH] honour commandline --device in test/agent.c Filippo Giunchedi

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