aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-10-20 08:22:16 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-20 09:52:25 (GMT)
commit5f797376f26664d29c359568ac225cad4f19d83a (patch)
tree4c0a40d895dc152eba8d8961fe8e4d2dd2477567 /tests
parentce9c8c4097047fc9856514a1889160d18b4e8861 (diff)
downloadhostap-5f797376f26664d29c359568ac225cad4f19d83a.zip
hostap-5f797376f26664d29c359568ac225cad4f19d83a.tar.gz
hostap-5f797376f26664d29c359568ac225cad4f19d83a.tar.bz2
tests: Make RELOG command use global control interface
This allows RELOG to be used even if a wpa_supplicant process does not have any interfaces configured. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hwsim/run-tests.py2
-rw-r--r--tests/hwsim/wpasupplicant.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/hwsim/run-tests.py b/tests/hwsim/run-tests.py
index 1e4ccb9..8bd16f8 100755
--- a/tests/hwsim/run-tests.py
+++ b/tests/hwsim/run-tests.py
@@ -382,7 +382,7 @@ def main():
logger.info(e)
result = "FAIL"
try:
- wpas = WpaSupplicant("wlan5", "/tmp/wpas-wlan5")
+ wpas = WpaSupplicant("/tmp/wpas-wlan5")
d.dump_monitor()
rename_log(args.logdir, 'log5', name, wpas)
if not args.no_reset:
diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py
index 7734f2a..5cacfa1 100644
--- a/tests/hwsim/wpasupplicant.py
+++ b/tests/hwsim/wpasupplicant.py
@@ -834,7 +834,7 @@ class WpaSupplicant:
raise Exception("Association with the AP timed out")
def relog(self):
- self.request("RELOG")
+ self.global_request("RELOG")
def wait_completed(self, timeout=10):
for i in range(0, timeout * 2):