]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: wpa_supplicant SET tdls_trigger_control
authorJouni Malinen <j@w1.fi>
Sun, 8 Jan 2017 14:48:59 +0000 (16:48 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Jan 2017 14:48:59 +0000 (16:48 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_ctrl.py

index 7683276dcd8858eebeeec8dcca4159c13a634aea..761e9018895df1eddb76cbfa0988e1129a45090a 100644 (file)
@@ -2003,3 +2003,10 @@ def test_wpas_ctrl_set_radio_disabled(dev):
     # without checking the result for some additional code coverage.
     dev[0].request("SET radio_disabled 1")
     dev[0].request("SET radio_disabled 0")
+
+def test_wpas_ctrl_set_tdls_trigger_control(dev):
+    """wpa_supplicant SET tdls_trigger_control"""
+    # This is not supported with upstream nl80211, but execute the commands
+    # without checking the result for some additional code coverage.
+    dev[0].request("SET tdls_trigger_control 1")
+    dev[0].request("SET tdls_trigger_control 0")