From: Berkay Ercan Date: Wed, 23 Dec 2020 14:58:44 +0000 (+0300) Subject: wpa_cli: Add WPS_EVENT_OVERLAP to action scripts X-Git-Tag: hostap_2_10~703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e8406469ec801cd3e4ffc428bff97af71a7b4d8;p=thirdparty%2Fhostap.git 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 Signed-off-by: Veli Demirel --- diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index 9f2f903cc..e04262445 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -4172,6 +4172,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_OVERLAP)) { + wpa_cli_exec(action_file, ifname, pos); } else if (str_starts(pos, WPS_EVENT_PIN_ACTIVE)) { wpa_cli_exec(action_file, ifname, pos); } else if (str_starts(pos, WPS_EVENT_CANCEL)) {