mesh: Add wpa_cli action script processing for mesh events
Signed-off-by: Natsuki Itaya <Natsuki.Itaya@jp.sony.com> Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
790709060d
commit
44a1662a50
1 changed files with 8 additions and 0 deletions
|
@ -3272,6 +3272,14 @@ static void wpa_cli_action_process(const char *msg)
|
|||
wpa_cli_connected = 0;
|
||||
wpa_cli_exec(action_file, ifname, "DISCONNECTED");
|
||||
}
|
||||
} else if (str_match(pos, MESH_GROUP_STARTED)) {
|
||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||
} else if (str_match(pos, MESH_GROUP_REMOVED)) {
|
||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||
} else if (str_match(pos, MESH_PEER_CONNECTED)) {
|
||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||
} else if (str_match(pos, MESH_PEER_DISCONNECTED)) {
|
||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||
} else if (str_match(pos, P2P_EVENT_GROUP_STARTED)) {
|
||||
wpa_cli_exec(action_file, ifname, pos);
|
||||
} else if (str_match(pos, P2P_EVENT_GROUP_REMOVED)) {
|
||||
|
|
Loading…
Reference in a new issue