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

Reply via email to