aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-02-05 14:52:38 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-05 14:52:38 (GMT)
commit95497a5fc1f860aff802170a8ef9222b22611acb (patch)
tree50e1f724b5df247712810412c423ee0b2f5dc2b9
parent84bb12aa6da3c8a1ea8f30352999000aa72fc41a (diff)
downloadhostap-95497a5fc1f860aff802170a8ef9222b22611acb.zip
hostap-95497a5fc1f860aff802170a8ef9222b22611acb.tar.gz
hostap-95497a5fc1f860aff802170a8ef9222b22611acb.tar.bz2
tests: BSS Load update failing to get survey data
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--tests/hwsim/test_ap_open.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_open.py b/tests/hwsim/test_ap_open.py
index a5f992e..5566c2c 100644
--- a/tests/hwsim/test_ap_open.py
+++ b/tests/hwsim/test_ap_open.py
@@ -220,6 +220,14 @@ def test_ap_bss_load(dev, apdev):
hwsim_utils.test_connectivity(dev[0], hapd)
time.sleep(0.15)
+def test_ap_bss_load_fail(dev, apdev):
+ """BSS Load update failing to get survey data"""
+ hapd = hostapd.add_ap(apdev[0],
+ { "ssid": "open",
+ "bss_load_update_period": "1" })
+ with fail_test(hapd, 1, "wpa_driver_nl80211_get_survey"):
+ wait_fail_trigger(hapd, "GET_FAIL")
+
def hapd_out_of_mem(hapd, apdev, count, func):
with alloc_fail(hapd, count, func):
started = False