aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-09-22 20:20:48 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-22 20:20:48 (GMT)
commit5c30a84b911930bc5a09b038ab69f46479e70c90 (patch)
treeeb3ce787cc2b879e29cff9af9adb257f4a4d9eda /tests
parentcee0be7343626ae387620288865a6c2996d1e51e (diff)
downloadhostap-5c30a84b911930bc5a09b038ab69f46479e70c90.zip
hostap-5c30a84b911930bc5a09b038ab69f46479e70c90.tar.gz
hostap-5c30a84b911930bc5a09b038ab69f46479e70c90.tar.bz2
tests: mode=mesh in STATUS
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_mesh.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py
index 43d7650..2ef1861 100644
--- a/tests/hwsim/test_wpas_mesh.py
+++ b/tests/hwsim/test_wpas_mesh.py
@@ -215,6 +215,10 @@ def test_wpas_mesh_open(dev, apdev):
if state != "COMPLETED":
raise Exception("Unexpected wpa_state on dev1: " + state)
+ mode = dev[0].get_status_field("mode")
+ if mode != "mesh":
+ raise Exception("Unexpected mode: " + mode)
+
def test_wpas_mesh_open_no_auto(dev, apdev):
"""wpa_supplicant open MESH network connectivity"""
check_mesh_support(dev[0])