mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Verify WPS AP does not activate PBC during overlap
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
11c26f1b4a
commit
11e7eeba8e
@ -543,6 +543,10 @@ def test_ap_wps_pbc_overlap_2sta(dev, apdev):
|
||||
raise Exception("PBC session overlap not detected (dev1)")
|
||||
if "config_error=12" not in ev:
|
||||
raise Exception("PBC session overlap not correctly reported (dev1)")
|
||||
hapd.request("WPS_CANCEL")
|
||||
ret = hapd.request("WPS_PBC")
|
||||
if "FAIL" not in ret:
|
||||
raise Exception("PBC mode allowed to be started while PBC overlap still active")
|
||||
|
||||
def test_ap_wps_cancel(dev, apdev):
|
||||
"""WPS AP cancelling enabled config method"""
|
||||
|
Loading…
Reference in New Issue
Block a user