aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-08 12:54:01 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-08 12:54:01 (GMT)
commit35b023b79a0f9a4261fb975fa3521eba5b221d89 (patch)
tree9be6d3f4e489f96e53d0fe9d9ae0a6fe7430f09e /tests
parent22e0dade9a90e794e3eef0117b0e2b4fb9ac6e36 (diff)
downloadhostap-35b023b79a0f9a4261fb975fa3521eba5b221d89.zip
hostap-35b023b79a0f9a4261fb975fa3521eba5b221d89.tar.gz
hostap-35b023b79a0f9a4261fb975fa3521eba5b221d89.tar.bz2
tests: wpa_supplicant SET radio_disabled
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_ctrl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py
index d8070a0..7683276 100644
--- a/tests/hwsim/test_wpas_ctrl.py
+++ b/tests/hwsim/test_wpas_ctrl.py
@@ -1996,3 +1996,10 @@ def test_wpas_ctrl_set_lci_errors(dev):
with fail_test(dev[0], 1, "os_get_reltime;wpas_ctrl_iface_set_lci"):
if "FAIL" not in dev[0].request("SET lci 00"):
raise Exception("SET lci accepted with failing os_get_reltime")
+
+def test_wpas_ctrl_set_radio_disabled(dev):
+ """wpa_supplicant SET radio_disabled"""
+ # This is not currently supported with nl80211, but execute the commands
+ # without checking the result for some additional code coverage.
+ dev[0].request("SET radio_disabled 1")
+ dev[0].request("SET radio_disabled 0")