From: Jouni Malinen Date: Fri, 1 May 2020 20:02:33 +0000 (+0300) Subject: tests: Disable power saving explicitly for pmksa_cache_ap_expiration X-Git-Tag: hostap_2_10~1375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccca850898371eea0b84391e11b90bfbd700ae48;p=thirdparty%2Fhostap.git 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 --- 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",