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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Replace INTERWORKING-BLACKLISTED with INTERWORKING_EXCLUDED.

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

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")
 
-- 
2.32.0.93.g670b81a890-goog


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux