From: Benjamin Berg Date: Wed, 11 Jun 2025 08:47:29 +0000 (+0200) Subject: tests: Permit encryption of Deauthentication frame X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baac2aaa3e452e2cd6910017c15d2f9d911df28f;p=thirdparty%2Fhostap.git 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 --- 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):