P2P: wpa_cli action calls for P2P group started/removed events
This commit is contained in:
parent
57faa1cee8
commit
42f0101b4d
2 changed files with 60 additions and 0 deletions
|
@ -2544,6 +2544,10 @@ static void wpa_cli_action_process(const char *msg)
|
|||
wpa_cli_connected = 0;
|
||||
wpa_cli_exec(action_file, ctrl_ifname, "DISCONNECTED");
|
||||
}
|
||||
} else if (str_match(pos, P2P_EVENT_GROUP_STARTED)) {
|
||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||
} else if (str_match(pos, P2P_EVENT_GROUP_REMOVED)) {
|
||||
wpa_cli_exec(action_file, ctrl_ifname, pos);
|
||||
} else if (str_match(pos, WPA_EVENT_TERMINATING)) {
|
||||
printf("wpa_supplicant is terminating - stop monitoring\n");
|
||||
wpa_cli_quit = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue