tests: Clear power save configuration in ap_open_sta_ps

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>
This commit is contained in:
Jouni Malinen 2020-05-01 23:01:11 +03:00 committed by Jouni Malinen
parent 1a59ebf2e5
commit 8a8001989a

View 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)