mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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:
parent
1a59ebf2e5
commit
8a8001989a
@ -506,7 +506,7 @@ def test_ap_open_sta_ps(dev, apdev):
|
|||||||
run_ap_open_sta_ps(dev, hapd)
|
run_ap_open_sta_ps(dev, hapd)
|
||||||
finally:
|
finally:
|
||||||
dev[0].cmd_execute(['iw', 'dev', dev[0].ifname,
|
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):
|
def run_ap_open_sta_ps(dev, hapd):
|
||||||
hwsim_utils.test_connectivity(dev[0], hapd)
|
hwsim_utils.test_connectivity(dev[0], hapd)
|
||||||
|
Loading…
Reference in New Issue
Block a user