diff mbox series

[v3,8/9] test: hwsim: Use INTERWORKING_EXCLUDED.

Message ID 20210708181423.113129-6-arowa@google.com
State Superseded
Headers show
Series [v3,1/9] wpa_supplicant: hostapd: Replace MITM with PITM. | expand

Commit Message

Arowa Suliman July 8, 2021, 6:14 p.m. UTC
Replace INTERWORKING-BLACKLISTED with INTERWORKING_EXCLUDED.

Signed-off-by: Arowa Suliman <arowa@chromium.org>
---
 tests/hwsim/test_ap_hs20.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py
index 9c4ba9597..517e9e665 100644
--- a/tests/hwsim/test_ap_hs20.py
+++ b/tests/hwsim/test_ap_hs20.py
@@ -1696,7 +1696,7 @@  def policy_test(dev, ap, values, only_one=True):
     events = []
     while True:
         ev = dev.wait_event(["INTERWORKING-AP", "INTERWORKING-NO-MATCH",
-                             "INTERWORKING-BLACKLISTED",
+                             "INTERWORKING_EXCLUDED",
                              "INTERWORKING-SELECTED"], timeout=15)
         if ev is None:
             raise Exception("Network selection timed out")
@@ -1813,12 +1813,12 @@  def test_ap_hs20_excluded_ssid(dev, apdev):
     values = default_cred()
     values['excluded_ssid'] = "test-hs20"
     events = policy_test(dev[0], apdev[1], values)
-    ev = [e for e in events if "INTERWORKING-BLACKLISTED " + apdev[0]['bssid'] in e]
+    ev = [e for e in events if "INTERWORKING_EXCLUDED " + apdev[0]['bssid'] in e]
     if len(ev) != 1:
         raise Exception("Excluded network not reported")
     values['excluded_ssid'] = "test-hs20-other"
     events = policy_test(dev[0], apdev[0], values)
-    ev = [e for e in events if "INTERWORKING-BLACKLISTED " + apdev[1]['bssid'] in e]
+    ev = [e for e in events if "INTERWORKING_EXCLUDED " + apdev[1]['bssid'] in e]
     if len(ev) != 1:
         raise Exception("Excluded network not reported")
 
@@ -1828,7 +1828,7 @@  def test_ap_hs20_excluded_ssid(dev, apdev):
     values['phase2'] = "auth=MSCHAPV2"
     values['excluded_ssid'] = "test-hs20"
     events = policy_test(dev[0], apdev[1], values)
-    ev = [e for e in events if "INTERWORKING-BLACKLISTED " + apdev[0]['bssid'] in e]
+    ev = [e for e in events if "INTERWORKING_EXCLUDED " + apdev[0]['bssid'] in e]
     if len(ev) != 1:
         raise Exception("Excluded network not reported")
 
@@ -1836,7 +1836,7 @@  def test_ap_hs20_excluded_ssid(dev, apdev):
               'milenage': "5122250214c33e723a5dd523fc145fc0:981d464c7c52eb6e5036234984ad0bcf:000000000123",
               'excluded_ssid': "test-hs20"}
     events = policy_test(dev[0], apdev[1], values)
-    ev = [e for e in events if "INTERWORKING-BLACKLISTED " + apdev[0]['bssid'] in e]
+    ev = [e for e in events if "INTERWORKING_EXCLUDED " + apdev[0]['bssid'] in e]
     if len(ev) != 1:
         raise Exception("Excluded network not reported")