]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wpa_cli: Execute action file in case of WPS_EVENT_TIMEOUT
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 9 Mar 2017 09:59:50 +0000 (10:59 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 11 Mar 2017 08:58:28 +0000 (10:58 +0200)
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
wpa_supplicant/wpa_cli.c

index 69c841b9158133d8f38568fdabb5907415e8eeca..09050d0d040be97c5c7774901d4563f1d183e0db 100644 (file)
@@ -3767,6 +3767,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)) {