]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Properly cancel NAN publish/subscribe
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 26 Nov 2024 09:10:17 +0000 (11:10 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 23 Dec 2024 11:21:22 +0000 (13:21 +0200)
Wrong command was used. Fix it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
tests/hwsim/test_p2p2.py

index 3b0adccffd1ad8fd95f9a3aa83be229d41f3a701..404ae0dc43de9fa9ae53d081bada76b83e23e81e 100644 (file)
@@ -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"""