From: Jouni Malinen Date: Fri, 5 Dec 2014 14:21:10 +0000 (+0200) Subject: tests: SET disallow_aps in P2P GO mode X-Git-Tag: hostap_2_4~927 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=556408940e27422ad28646c7ab680be6930dda61;p=thirdparty%2Fhostap.git tests: SET disallow_aps in P2P GO mode Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index f6fda9d1d..bee13470b 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -665,6 +665,11 @@ def test_wpas_ctrl_disallow_aps(dev, apdev): if ev is not None: raise Exception("Unexpected reassociation") + dev[0].request("DISCONNECT") + dev[0].p2p_start_go(freq=2412) + if "OK" not in dev[0].request("SET disallow_aps "): + raise Exception("Failed to set disallow_aps") + def test_wpas_ctrl_blob(dev): """wpa_supplicant ctrl_iface SET blob""" if "FAIL" not in dev[0].request("SET blob foo"):