[PATCH 2/2] test-serial: fix service value attribution

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

 



---
 test/test-serial |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/test-serial b/test/test-serial
index 1c7078c..fd55b81 100755
--- a/test/test-serial
+++ b/test/test-serial
@@ -34,7 +34,7 @@ address = sys.argv[1]
 if (len(args) < 2):
 	service = "spp"
 else:
-	service = args[1]
+	service = sys.argv[2]
 
 path = adapter.FindDevice(address)
 
-- 
1.7.1.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