mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
tests: Fix p2p_stop_find() calls in discovery
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
a378fe5d45
commit
1f8fc6bebb
@ -81,8 +81,8 @@ def test_discovery(dev):
|
|||||||
if addr1 not in ev0:
|
if addr1 not in ev0:
|
||||||
raise Exception("Dev1 not in provision discovery event")
|
raise Exception("Dev1 not in provision discovery event")
|
||||||
|
|
||||||
dev[0].p2p_stop_find
|
dev[0].p2p_stop_find()
|
||||||
dev[1].p2p_stop_find
|
dev[1].p2p_stop_find()
|
||||||
|
|
||||||
if "FAIL" not in dev[0].p2p_find(dev_id="foo"):
|
if "FAIL" not in dev[0].p2p_find(dev_id="foo"):
|
||||||
raise Exception("P2P_FIND with invalid dev_id accepted")
|
raise Exception("P2P_FIND with invalid dev_id accepted")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user