]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Clear power save configuration in ap_open_sta_ps
authorJouni Malinen <jouni@codeaurora.org>
Fri, 1 May 2020 20:01:11 +0000 (23:01 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2020 21:37:45 +0000 (00:37 +0300)
It looks like this test case was supposed to set power_save off at the
end instead of repeating the same setting twice.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_ap_open.py

index 2919cda5231c209663d24fbf7915a907ce884df7..44286827309f18e4fd9acffc1a396cf49190d617 100644 (file)
@@ -506,7 +506,7 @@ def test_ap_open_sta_ps(dev, apdev):
         run_ap_open_sta_ps(dev, hapd)
     finally:
         dev[0].cmd_execute(['iw', 'dev', dev[0].ifname,
-                            'set', 'power_save', 'on'])
+                            'set', 'power_save', 'off'])
 
 def run_ap_open_sta_ps(dev, hapd):
     hwsim_utils.test_connectivity(dev[0], hapd)