From baac2aaa3e452e2cd6910017c15d2f9d911df28f Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Wed, 11 Jun 2025 10:47:29 +0200 Subject: [PATCH] tests: Permit encryption of Deauthentication frame 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 Reviewed-by: Andrei Otcheretianski --- 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 e07c6b94d..dfc20db3a 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.47.2