mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
tests: SET disallow_aps in P2P GO mode
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
c1e33588b8
commit
556408940e
@ -665,6 +665,11 @@ def test_wpas_ctrl_disallow_aps(dev, apdev):
|
|||||||
if ev is not None:
|
if ev is not None:
|
||||||
raise Exception("Unexpected reassociation")
|
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):
|
def test_wpas_ctrl_blob(dev):
|
||||||
"""wpa_supplicant ctrl_iface SET blob"""
|
"""wpa_supplicant ctrl_iface SET blob"""
|
||||||
if "FAIL" not in dev[0].request("SET blob foo"):
|
if "FAIL" not in dev[0].request("SET blob foo"):
|
||||||
|
Loading…
Reference in New Issue
Block a user