]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Verify mesh support for wpas_add_set_remove_support
authorJouni Malinen <j@w1.fi>
Sun, 11 Jan 2015 17:55:04 +0000 (19:55 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Jan 2015 22:19:21 +0000 (00:19 +0200)
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>
tests/hwsim/test_wpas_mesh.py

index 80b5c79a6db75d508c9f00e256e07d1d76ef9955..9a3351a476ffcdf262fcbde10635070369f0b15b 100644 (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)