wpa_cli: Make CTRL-EVENT-CHANNEL-SWITCH available to action scripts

Signed-off-by: Omer Dagan <omer.dagan@tandemg.com>
master
Omer Dagan 5 years ago committed by Jouni Malinen
parent 95f556f3c7
commit fa335929b7

@ -3967,6 +3967,8 @@ static void wpa_cli_action_process(const char *msg)
wpa_cli_connected = 0;
wpa_cli_exec(action_file, ifname, "DISCONNECTED");
}
} else if (str_starts(pos, WPA_EVENT_CHANNEL_SWITCH_STARTED)) {
wpa_cli_exec(action_file, ctrl_ifname, pos);
} else if (str_starts(pos, AP_EVENT_ENABLED)) {
wpa_cli_exec(action_file, ctrl_ifname, pos);
} else if (str_starts(pos, AP_EVENT_DISABLED)) {

Loading…
Cancel
Save