From 8c24982e613764b1600e34f4b95f9785cc4f240d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 19 Mar 2021 23:34:58 +0200 Subject: [PATCH] tests: Fix error messages for HE config missing Signed-off-by: Jouni Malinen --- tests/hwsim/test_he.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_he.py b/tests/hwsim/test_he.py index 68633c81c..3dc33adac 100644 --- a/tests/hwsim/test_he.py +++ b/tests/hwsim/test_he.py @@ -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():