From ccca850898371eea0b84391e11b90bfbd700ae48 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 1 May 2020 23:02:33 +0300 Subject: [PATCH] tests: Disable power saving explicitly for pmksa_cache_ap_expiration This test case seems to be failing every now and then due to the AP not getting out the Deauthentication frame after PMKSA expiration if the STA is in power save mode. Signed-off-by: Jouni Malinen --- tests/hwsim/test_pmksa_cache.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/test_pmksa_cache.py b/tests/hwsim/test_pmksa_cache.py index c334b48dd..22db7e8d4 100644 --- a/tests/hwsim/test_pmksa_cache.py +++ b/tests/hwsim/test_pmksa_cache.py @@ -663,6 +663,8 @@ def test_pmksa_cache_ap_expiration(dev, apdev): hapd = hostapd.add_ap(apdev[0], params) bssid = apdev[0]['bssid'] + dev[0].cmd_execute(['iw', 'dev', dev[0].ifname, + 'set', 'power_save', 'off']) dev[0].connect("test-pmksa-cache", proto="RSN", key_mgmt="WPA-EAP", eap="GPSK", identity="gpsk-user-session-timeout", password="abcdefghijklmnop0123456789abcdef",