[PATCH 3/5] tests: Use the correct SSID in PASN SAE tests

Ilan Peer ilan.peer at intel.com
Thu Apr 8 10:06:22 BST 2021


Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
 tests/hwsim/test_pasn.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/hwsim/test_pasn.py b/tests/hwsim/test_pasn.py
index 150a21d01b..19c88966bc 100644
--- a/tests/hwsim/test_pasn.py
+++ b/tests/hwsim/test_pasn.py
@@ -386,7 +386,7 @@ def test_pasn_sae(dev, apdev):
     params['wpa_key_mgmt'] = 'SAE PASN'
     hapd = start_pasn_ap(apdev[0], params)
 
-    dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412",
+    dev[0].connect("test-pasn-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412",
                    only_add_network=True)
 
     # first test with a valid PSK
@@ -750,7 +750,7 @@ def test_pasn_comeback_after_0_sae(dev, apdev):
     params['pasn_comeback_after'] = '0'
     hapd = start_pasn_ap(apdev[0], params)
 
-    dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412",
+    dev[0].connect("test-pasn-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412",
                    only_add_network=True)
 
     # first test with a valid PSK
@@ -784,7 +784,7 @@ def test_pasn_comeback_multi(dev, apdev):
     for i in range(0, 2):
         dev[i].flush_scan_cache()
         dev[i].scan(type="ONLY", freq=2412)
-        id[i] = dev[i].connect("test-sae", psk="12345678", key_mgmt="SAE",
+        id[i] = dev[i].connect("test-pasn-sae", psk="12345678", key_mgmt="SAE",
                                scan_freq="2412", only_add_network=True)
 
     for i in range(0, 2):
-- 
2.17.1




More information about the Hostap mailing list