Message ID | 1517310610-9300-1-git-send-email-andrei.otcheretianski@intel.com |
---|---|
State | Accepted |
Headers | show |
Series | tests: enable device ps before sending ps_poll | expand |
diff --git a/tests/hwsim/test_ap_open.py b/tests/hwsim/test_ap_open.py index b888002..1b62ea6 100644 --- a/tests/hwsim/test_ap_open.py +++ b/tests/hwsim/test_ap_open.py @@ -426,7 +426,9 @@ def test_ap_open_disconnect_in_ps(dev, apdev, params): raise Exception("No connection event received from hostapd") time.sleep(0.2) - hwsim_utils.set_powersave(dev[0], hwsim_utils.PS_MANUAL_POLL) + #setting power save enabled + hwsim_utils.set_powersave(dev[0], hwsim_utils.PS_ENABLED) + time.sleep(0.1) try: # inject some traffic sa = hapd.own_addr()