mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Disable PFS in dpp_akm_sha*
These test cases are using externally generated PMKSA cache entry which does not support use of PFS. This will start failing if the station claims to support PFS in such cases, so explicitly disable PFS functionality in these test cases for now. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
61e22e45c8
commit
f114156804
@ -1420,7 +1420,7 @@ def run_dpp_akm(dev, apdev, pmk_len):
|
|||||||
raise HwsimSkip("DPP not supported")
|
raise HwsimSkip("DPP not supported")
|
||||||
|
|
||||||
id = dev[0].connect("dpp", key_mgmt="DPP", ieee80211w="2", scan_freq="2412",
|
id = dev[0].connect("dpp", key_mgmt="DPP", ieee80211w="2", scan_freq="2412",
|
||||||
wait_connect=False)
|
dpp_pfs="2", wait_connect=False)
|
||||||
ev = dev[0].wait_event(["CTRL-EVENT-NETWORK-NOT-FOUND"], timeout=2)
|
ev = dev[0].wait_event(["CTRL-EVENT-NETWORK-NOT-FOUND"], timeout=2)
|
||||||
if not ev:
|
if not ev:
|
||||||
raise Exception("Network mismatch not reported")
|
raise Exception("Network mismatch not reported")
|
||||||
|
Loading…
Reference in New Issue
Block a user