Skip to contentSkip to conversation

honour commandline --device in test/agent.c

PATCH New Filippo Giunchedi 1 participant 1 message Jun 6, 2009 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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(-)
test/agent.c +1 -1
index b256f52..7cd4b6e 100644
@@ -283,7 +283,7 @@ static char *get_device(const char *device)
 {
 	char *path;
 
-	path = strdup("/org/bluez/hci0");
+	path = strdup(device);
 
 	return path;
 }
Signature · 1 line
1.6.3.1