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>
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:
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):
if (wpas_module_tests() < 0)
reply_len = -1;
#endif /* CONFIG_MODULE_TESTS */
+ } else if (os_strncmp(buf, "RELOG", 5) == 0) {
+ if (wpa_debug_reopen_file() < 0)
+ reply_len = -1;
} else {
os_memcpy(reply, "UNKNOWN COMMAND\n", 16);
reply_len = 16;