tests: Fix p2p_stop_find() calls in discovery

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2019-09-18 19:07:13 +03:00 committed by Jouni Malinen
parent a378fe5d45
commit 1f8fc6bebb

View file

@ -81,8 +81,8 @@ def test_discovery(dev):
if addr1 not in ev0:
raise Exception("Dev1 not in provision discovery event")
dev[0].p2p_stop_find
dev[1].p2p_stop_find
dev[0].p2p_stop_find()
dev[1].p2p_stop_find()
if "FAIL" not in dev[0].p2p_find(dev_id="foo"):
raise Exception("P2P_FIND with invalid dev_id accepted")