[PATCH 08/11] tests: Properly cancel NAN publish/subscribe
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Tue Nov 26 01:10:17 PST 2024
Wrong command was used. Fix it.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
tests/hwsim/test_p2p2.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/hwsim/test_p2p2.py b/tests/hwsim/test_p2p2.py
index a67ebefe85..aac6202261 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"""
--
2.43.0
More information about the Hostap
mailing list