Message ID | 20201223145844.17981-1-berkayercann1@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | WPS_EVENT_OVERLAP case was missing on wpa_cli_action_process function in wpa_cli.c | expand |
On Wed, Dec 23, 2020 at 05:58:44PM +0300, berkayercann1@gmail.com wrote: > So when the overlap event occurs, there was no event message on slave node. Solved > the issue by adding the event case to the function Thanks, applied.
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)) {