Re: [PATCH 1/1] test: Set command_list properly

2014-06-04 Thread Patrik Flykt
On Wed, 2014-05-28 at 17:55 -0400, Eduardo Abinader wrote:
 Command list passed to wpa_s was not being extracted from
 arg list, but storing the whole list. This caused the help
 to be buggy.

Applied, thanks!

Patrik

___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman


[PATCH 1/1] test: Set command_list properly

2014-05-28 Thread Eduardo Abinader
Command list passed to wpa_s was not being extracted from
arg list, but storing the whole list. This caused the help
to be buggy.
---
 test/p2p-on-supplicant | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/p2p-on-supplicant b/test/p2p-on-supplicant
index 3e6f277..826656e 100755
--- a/test/p2p-on-supplicant
+++ b/test/p2p-on-supplicant
@@ -351,7 +351,7 @@ class Wpa_s:
 
 @checkarg(nb_args=1)
 def set_command_list(self, command_list):
-self.command_list = command_list
+self.command_list = command_list[0]
 
 @checkarg()
 def p2p_find(self, args = None):
-- 
1.9.1

___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman