[PATCH 3/3] wpa_cli: Execute action file in case of WPS_EVENT_TIMEOUT
Jörg Krause
joerg.krause at embedded.rocks
Thu Mar 9 01:59:50 PST 2017
Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
---
wpa_supplicant/wpa_cli.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index f2228363b..ac564f1bc 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -3764,6 +3764,8 @@ static void wpa_cli_action_process(const char *msg)
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, WPS_EVENT_ACTIVE)) {
wpa_cli_exec(action_file, ifname, pos);
+ } else if (str_starts(pos, WPS_EVENT_TIMEOUT)) {
+ wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, WPS_EVENT_FAIL)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, AP_STA_CONNECTED)) {
--
2.12.0
More information about the Hostap
mailing list