From: Jouni Malinen Date: Sun, 6 Apr 2014 12:55:18 +0000 (+0300) Subject: tests: SET pno freq parameter X-Git-Tag: hostap_2_2~360 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa9e07ec6a8f583605d8460b998f1b14de58c474;p=thirdparty%2Fhostap.git tests: SET pno freq parameter Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index e6f54e39a..e4403cc26 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -310,6 +310,10 @@ def test_wpas_ctrl_pno(dev): #mac80211_hwsim does not yet support PNO, so this fails if "FAIL" not in dev[0].request("SET pno 1"): raise Exception("Unexpected success in enabling PNO") + if "FAIL" not in dev[0].request("SET pno 1 freq=2000-3000,5180"): + raise Exception("Unexpected success in enabling PNO") + if "FAIL" not in dev[0].request("SET pno 1 freq=0-6000"): + raise Exception("Unexpected success in enabling PNO") if "FAIL" in dev[0].request("SET pno 0"): raise Exception("Unexpected failure in disabling PNO")