]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_dbus.py
tests: Pass full apdev to add_ap() function (4)
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:46:12 +0000 (22:46 +0300)
commitafc26df29cb8866d8be23674694c8c20b6ffa700
treee34f227e013c435cb713831261a5304304bb31ec
parent5eee514de90d043b5fe7666325ebb1be28985945
tests: Pass full apdev to add_ap() function (4)

Pass the full apdev 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'].

This step (4) converts the cases that call hostapd.add_ap() from a
helper function that got apdev[i] as an argument.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
14 files changed:
tests/hwsim/test_ap_acs.py
tests/hwsim/test_ap_ciphers.py
tests/hwsim/test_ap_hs20.py
tests/hwsim/test_ap_open.py
tests/hwsim/test_ap_psk.py
tests/hwsim/test_ap_vht.py
tests/hwsim/test_ap_wps.py
tests/hwsim/test_dbus.py
tests/hwsim/test_erp.py
tests/hwsim/test_gas.py
tests/hwsim/test_nfc_wps.py
tests/hwsim/test_sae.py
tests/hwsim/test_wnm.py
tests/hwsim/test_wpas_wmm_ac.py