]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix error messages for HE config missing
authorJouni Malinen <j@w1.fi>
Fri, 19 Mar 2021 21:34:58 +0000 (23:34 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 19 Mar 2021 21:34:58 +0000 (23:34 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_he.py

index 68633c81c2cb7af0d79cf54b7c1eb6c2decf6cd4..3dc33adac078f55180b3845e3ff445019f9fec77 100644 (file)
@@ -24,7 +24,7 @@ def test_he_open(dev, apdev):
               "he_mu_edca_ac_be_ecwmax": "15"}
     hapd = hostapd.add_ap(apdev[0], params)
     if hapd.get_status_field("ieee80211ax") != "1":
-        raise Exception("STATUS did not indicate ieee80211ac=1")
+        raise Exception("STATUS did not indicate ieee80211ax=1")
     dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")
     sta = hapd.get_sta(dev[0].own_addr())
     if "[HE]" not in sta['flags']:
@@ -94,7 +94,7 @@ def test_he_params(dev, apdev):
               "he_oper_centr_freq_seg1_idx": "0"}
     hapd = hostapd.add_ap(apdev[0], params)
     if hapd.get_status_field("ieee80211ax") != "1":
-        raise Exception("STATUS did not indicate ieee80211ac=1")
+        raise Exception("STATUS did not indicate ieee80211ax=1")
     dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")
 
 def he_supported():