[PATCH 1/4] test/agent.c: honour commandline --device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux