diff mbox series

WPS_EVENT_OVERLAP case was missing on wpa_cli_action_process function in wpa_cli.c

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

Commit Message

berkayercann1@gmail.com Dec. 23, 2020, 2:58 p.m. UTC
From: Berkay Ercan <berkay.ercan@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@airties.com>
Signed-off-by: Veli Demirel <veli.demirel@airties.com>
---
 wpa_supplicant/wpa_cli.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jouni Malinen Jan. 15, 2021, 12:18 p.m. UTC | #1
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 mbox series

Patch

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)) {