tests: Verify mesh support for wpas_add_set_remove_support

This test case fails if wpa_supplicant is built without mesh support, so
need to check for this.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2015-01-11 19:55:04 +02:00
parent 2f0347954a
commit 0ff7afbc42

View file

@ -97,6 +97,7 @@ def check_mesh_peer_disconnected(dev):
def test_wpas_add_set_remove_support(dev):
"""wpa_supplicant MESH add/set/remove network support"""
check_mesh_support(dev[0])
id = dev[0].add_network()
dev[0].set_network(id, "mode", "5")
dev[0].remove_network(id)