wpa_cli: Make WPA_EVENT_CHANNEL_SWITCH events accessible to action scripts
Make the channel switch complete event, WPA_EVENT_CHANNEL_SWITCH, accessible to the action script. Signed-off-by: arun.jose <arun.jose.wg@bp.renesas.com>
This commit is contained in:
parent
2e1f7d091c
commit
f44a07d5c4
1 changed files with 2 additions and 0 deletions
|
@ -4380,6 +4380,8 @@ static void wpa_cli_action_process(const char *msg)
|
||||||
}
|
}
|
||||||
} else if (str_starts(pos, WPA_EVENT_CHANNEL_SWITCH_STARTED)) {
|
} else if (str_starts(pos, WPA_EVENT_CHANNEL_SWITCH_STARTED)) {
|
||||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||||
|
} else if (str_starts(pos, WPA_EVENT_CHANNEL_SWITCH)) {
|
||||||
|
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||||
} else if (str_starts(pos, AP_EVENT_ENABLED)) {
|
} else if (str_starts(pos, AP_EVENT_ENABLED)) {
|
||||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||||
} else if (str_starts(pos, AP_EVENT_DISABLED)) {
|
} else if (str_starts(pos, AP_EVENT_DISABLED)) {
|
||||||
|
|
Loading…
Reference in a new issue