mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 10:54:03 -05:00
tests: INTERWORKING_CONNECT with invalid parameter
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c62438b822
commit
7e71fbc169
@ -949,6 +949,11 @@ def test_ap_hs20_disallow_aps(dev, apdev):
|
|||||||
if "FAIL" not in ret:
|
if "FAIL" not in ret:
|
||||||
raise Exception("INTERWORKING_CONNECT to disallowed BSS not rejected")
|
raise Exception("INTERWORKING_CONNECT to disallowed BSS not rejected")
|
||||||
|
|
||||||
|
if "FAIL" not in dev[0].request("INTERWORKING_CONNECT foo"):
|
||||||
|
raise Exception("Invalid INTERWORKING_CONNECT not rejected")
|
||||||
|
if "FAIL" not in dev[0].request("INTERWORKING_CONNECT 00:11:22:33:44:55"):
|
||||||
|
raise Exception("Invalid INTERWORKING_CONNECT not rejected")
|
||||||
|
|
||||||
def policy_test(dev, ap, values, only_one=True):
|
def policy_test(dev, ap, values, only_one=True):
|
||||||
dev.dump_monitor()
|
dev.dump_monitor()
|
||||||
if ap:
|
if ap:
|
||||||
|
Loading…
Reference in New Issue
Block a user