wpa_cli: Make CTRL-EVENT-CHANNEL-SWITCH available to action scripts
Signed-off-by: Omer Dagan <omer.dagan@tandemg.com>
This commit is contained in:
parent
95f556f3c7
commit
fa335929b7
1 changed files with 2 additions and 0 deletions
|
@ -3967,6 +3967,8 @@ static void wpa_cli_action_process(const char *msg)
|
||||||
wpa_cli_connected = 0;
|
wpa_cli_connected = 0;
|
||||||
wpa_cli_exec(action_file, ifname, "DISCONNECTED");
|
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)) {
|
} 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