tests: Make wpa2_ocv_ap_ht_mismatch more robust
Clear the scan cache on the AP before running this test since the HT40 operation on the 2.4 GHz band might get disallowed based on scan results from earlier test cases. This was found with the following hwsim test case sequence failing: ap_acs_with_fallback_to_20 wpa2_ocv_ap_ht_mismatch Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
42944de69b
commit
1e0af0cc7e
1 changed files with 1 additions and 0 deletions
|
@ -445,6 +445,7 @@ def test_wpa2_ocv_ap_mismatch(dev, apdev):
|
||||||
@remote_compatible
|
@remote_compatible
|
||||||
def test_wpa2_ocv_ap_ht_mismatch(dev, apdev):
|
def test_wpa2_ocv_ap_ht_mismatch(dev, apdev):
|
||||||
"""OCV AP mismatch (HT)"""
|
"""OCV AP mismatch (HT)"""
|
||||||
|
clear_scan_cache(apdev[0])
|
||||||
params = {"channel": "6",
|
params = {"channel": "6",
|
||||||
"ht_capab": "[HT40-]",
|
"ht_capab": "[HT40-]",
|
||||||
"ieee80211w": "1",
|
"ieee80211w": "1",
|
||||||
|
|
Loading…
Reference in a new issue