From: Andrei Otcheretianski Date: Tue, 26 Nov 2024 09:10:17 +0000 (+0200) Subject: tests: Properly cancel NAN publish/subscribe X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc55f3d6f38f5ed11c3fdce1b380707e968bd04;p=thirdparty%2Fhostap.git tests: Properly cancel NAN publish/subscribe Wrong command was used. Fix it. Signed-off-by: Andrei Otcheretianski --- diff --git a/tests/hwsim/test_p2p2.py b/tests/hwsim/test_p2p2.py index 3b0adccff..404ae0dc4 100644 --- a/tests/hwsim/test_p2p2.py +++ b/tests/hwsim/test_p2p2.py @@ -124,8 +124,8 @@ def test_p2p_usd_match(dev, apdev): if "ssi=6677" not in ev.split(' '): raise Exception("Unexpected ssi: " + ev) - dev[0].global_request("NAN_CANCEL_SUBSCRIBE id=" + id0) - dev[1].global_request("NAN_CANCEL_PUBLISH id=" + id1) + dev[0].global_request("NAN_CANCEL_SUBSCRIBE subscribe_id=" + id0) + dev[1].global_request("NAN_CANCEL_PUBLISH publish_id=" + id1) def test_p2p_pairing_password(dev, apdev): """P2P Pairing with Password"""