tests: mode=mesh in STATUS

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2016-09-22 23:20:48 +03:00 committed by Jouni Malinen
parent cee0be7343
commit 5c30a84b91

View file

@ -215,6 +215,10 @@ def test_wpas_mesh_open(dev, apdev):
if state != "COMPLETED": if state != "COMPLETED":
raise Exception("Unexpected wpa_state on dev1: " + state) 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): def test_wpas_mesh_open_no_auto(dev, apdev):
"""wpa_supplicant open MESH network connectivity""" """wpa_supplicant open MESH network connectivity"""
check_mesh_support(dev[0]) check_mesh_support(dev[0])