[PATCH 7/7] tests: permit encryption of DEAUTH frame
Benjamin Berg
benjamin at sipsolutions.net
Wed Jun 11 01:47:29 PDT 2025
From: Benjamin Berg <benjamin.berg at intel.com>
The test does not intentionally send an unencrypted frame. This seems to
simply be done because the parameter value is not obvious. Change it to
permit encryption so that the frame can be sent directly rather than
going through the monitor interface.
This really doesn't make a difference overall, but it is closer to what
was intended here.
Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
tests/hwsim/test_dbus.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/hwsim/test_dbus.py b/tests/hwsim/test_dbus.py
index e07c6b94d1..dfc20db3a5 100644
--- a/tests/hwsim/test_dbus.py
+++ b/tests/hwsim/test_dbus.py
@@ -5042,7 +5042,7 @@ def _test_dbus_p2p_group_idle_timeout(dev, apdev):
# Force disassociation with different reason code so that the
# P2P Client using D-Bus does not get normal group termination event
# from the GO.
- dev[1].group_request("DEAUTHENTICATE " + ifaddr + " reason=0 test=0")
+ dev[1].group_request("DEAUTHENTICATE " + ifaddr + " reason=0 test=1")
dev[1].remove_group()
def groupFinished(self, properties):
--
2.49.0
More information about the Hostap
mailing list