Allow to pass params together with device name eg. -m mon1:1,20,1,0 Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> --- tests/remote/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/remote/config.py b/tests/remote/config.py index 5a6b728ac..1ac362ead 100644 --- a/tests/remote/config.py +++ b/tests/remote/config.py @@ -69,6 +69,8 @@ def get_devices(filename="cfg.py"): def get_device(devices, name=None, flags=None, lock=False): if name is None and flags is None: raise Exception("Failed to get device") + word = name.split(":") + name = word[0] for device in devices: if device['name'] == name: return device -- 2.17.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap