]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Allow full apdev to be passed to add_ap() function
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Wed, 30 Mar 2016 08:55:56 +0000 (10:55 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 3 Apr 2016 19:32:26 +0000 (22:32 +0300)
commit78b83193179ed530fba99781eb69b6ee68114f8e
tree583c4b8700ebcd99455402a0aade1d22c7ce3252
parentf89c32e63f71e66d7b55e284016762b603ae02db
tests: Allow full apdev to be passed to add_ap() function

This allows the full apdev dict to be passed to the add_ap() function
instead of just ifname. This allows us to handle also remote hosts while
we can check apdev['hostname'], apdev['port']. The old style ifname
argument is still accepted to avoid having to convert all callers in a
single commit.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
tests/hwsim/hostapd.py