aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-12-23 10:13:04 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-23 15:25:11 (GMT)
commit95cd50a1ede52b9759f65e203512166232ceebe5 (patch)
treeb9f9e29fae95534849c7ddd3dce9fb8aa32fc234 /tests
parent15b7cc5199ec6e3c0484ca26e74fcf84c93b2931 (diff)
downloadhostap-95cd50a1ede52b9759f65e203512166232ceebe5.zip
hostap-95cd50a1ede52b9759f65e203512166232ceebe5.tar.gz
hostap-95cd50a1ede52b9759f65e203512166232ceebe5.tar.bz2
tests: Fix AP wait in ap_require_ht and ap_require_ht_limited_rates
These test cases seemed to have copy-paste errors where wait_enabled=False was forgotten even though there was no additional steps checking the AP mode startup results. This did not break the tests, but could have resulted in slowing them down if the STAs did not find the AP in the first scan. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_ap_ht.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py
index a46ff08..59b4ac6 100644
--- a/tests/hwsim/test_ap_ht.py
+++ b/tests/hwsim/test_ap_ht.py
@@ -833,7 +833,7 @@ def test_ap_require_ht(dev, apdev):
"""Require HT"""
params = { "ssid": "require-ht",
"require_ht": "1" }
- hapd = hostapd.add_ap(apdev[0], params, wait_enabled=False)
+ hapd = hostapd.add_ap(apdev[0], params)
dev[1].connect("require-ht", key_mgmt="NONE", scan_freq="2412",
disable_ht="1", wait_connect=False)
@@ -867,7 +867,7 @@ def test_ap_require_ht_limited_rates(dev, apdev):
params = { "ssid": "require-ht",
"supported_rates": "60 120 240 360 480 540",
"require_ht": "1" }
- hapd = hostapd.add_ap(apdev[0], params, wait_enabled=False)
+ hapd = hostapd.add_ap(apdev[0], params)
dev[1].connect("require-ht", key_mgmt="NONE", scan_freq="2412",
disable_ht="1", wait_connect=False)