[PATCH] WPS_EVENT_OVERLAP case was missing on wpa_cli_action_process function in wpa_cli.c
berkayercann1 at gmail.com
berkayercann1 at gmail.com
Wed Dec 23 09:58:44 EST 2020
From: Berkay Ercan <berkay.ercan at airties.com>
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
Signed-off-by: Berkay Ercan <berkay.ercan at airties.com>
Signed-off-by: Veli Demirel <veli.demirel at airties.com>
---
wpa_supplicant/wpa_cli.c | 2 ++
1 file changed, 2 insertions(+)
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)) {
--
2.17.1
More information about the Hostap
mailing list