2009-06-06 20:56:35

by Filippo Giunchedi

[permalink] [raw]
Subject: [PATCH] honour commandline --device in test/agent.c

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