From: Jouni Malinen Date: Fri, 27 Mar 2020 19:05:44 +0000 (+0200) Subject: tests: Skip background scans in beacon loss tests X-Git-Tag: hostap_2_10~1536 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fhostap.git;a=commitdiff_plain;h=a3eda98c229bd22d4a93bf05263c8169e7e50d43 tests: Skip background scans in beacon loss tests bgscan_learn_beacon_loss was failing quite frequently and it looks like the background scans were related to those failures. Since those scans are not really relevant to testing beacon loss, get rid of them in these test cases to avoid incorrect failures. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_bgscan.py b/tests/hwsim/test_bgscan.py index fdbc03fe6..5951f82e0 100644 --- a/tests/hwsim/test_bgscan.py +++ b/tests/hwsim/test_bgscan.py @@ -78,7 +78,8 @@ def test_bgscan_simple_beacon_loss(dev, apdev): dev[0].set("disable_sa_query", "1") dev[0].connect("bgscan", ieee80211w="2", key_mgmt="WPA-PSK-SHA256", - psk="12345678", scan_freq="2412", bgscan="simple:1:-20:2") + psk="12345678", scan_freq="2412", + bgscan="simple:100:-20:200") hapd.set("ext_mgmt_frame_handling", "1") if "OK" not in hapd.request("STOP_AP"): raise Exception("Failed to stop AP") @@ -253,7 +254,7 @@ def test_bgscan_learn_beacon_loss(dev, apdev): dev[0].set("disable_sa_query", "1") dev[0].connect("bgscan", ieee80211w="2", key_mgmt="WPA-PSK-SHA256", - psk="12345678", scan_freq="2412", bgscan="learn:1:-20:2") + psk="12345678", scan_freq="2412", bgscan="learn:100:-20:200") hapd.set("ext_mgmt_frame_handling", "1") if "OK" not in hapd.request("STOP_AP"): raise Exception("Failed to stop AP")