wpa_cli: Execute action file in case of WPS_EVENT_ACTIVE
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
This commit is contained in:
parent
acdf502197
commit
6252b981d9
1 changed files with 2 additions and 0 deletions
|
@ -3765,6 +3765,8 @@ static void wpa_cli_action_process(const char *msg)
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
} else if (str_starts(pos, WPS_EVENT_SUCCESS)) {
|
} else if (str_starts(pos, WPS_EVENT_SUCCESS)) {
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
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_FAIL)) {
|
} else if (str_starts(pos, WPS_EVENT_FAIL)) {
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
} else if (str_starts(pos, AP_STA_CONNECTED)) {
|
} else if (str_starts(pos, AP_STA_CONNECTED)) {
|
||||||
|
|
Loading…
Reference in a new issue