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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue