wpa_cli: Add WPS_EVENT_OVERLAP to action scripts
WPS_EVENT_OVERLAP case was missing on wpa_cli_action_process function in wpa_cli.c, so when the overlap event occurs, there was no event message sent to the action script. Add this event case to the function. Signed-off-by: Berkay Ercan <berkay.ercan@airties.com> Signed-off-by: Veli Demirel <veli.demirel@airties.com>
This commit is contained in:
parent
cb9cc66b35
commit
8e8406469e
1 changed files with 2 additions and 0 deletions
|
@ -4172,6 +4172,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_ACTIVE)) {
|
} else if (str_starts(pos, WPS_EVENT_ACTIVE)) {
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
|
} else if (str_starts(pos, WPS_EVENT_OVERLAP)) {
|
||||||
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
} else if (str_starts(pos, WPS_EVENT_PIN_ACTIVE)) {
|
} else if (str_starts(pos, WPS_EVENT_PIN_ACTIVE)) {
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
} else if (str_starts(pos, WPS_EVENT_CANCEL)) {
|
} else if (str_starts(pos, WPS_EVENT_CANCEL)) {
|
||||||
|
|
Loading…
Reference in a new issue