wpa_cli: Indicate HS20-T-C-ACCEPTANCE to action scripts
This can be used to start a web browser to go through Terms and Conditions acknowledgment. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
6b21df0bb7
commit
625a8c86ba
1 changed files with 2 additions and 0 deletions
|
@ -3955,6 +3955,8 @@ static void wpa_cli_action_process(const char *msg)
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
} else if (str_starts(pos, HS20_DEAUTH_IMMINENT_NOTICE)) {
|
} else if (str_starts(pos, HS20_DEAUTH_IMMINENT_NOTICE)) {
|
||||||
wpa_cli_exec(action_file, ifname, pos);
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
|
} else if (str_starts(pos, HS20_T_C_ACCEPTANCE)) {
|
||||||
|
wpa_cli_exec(action_file, ifname, pos);
|
||||||
} else if (str_starts(pos, WPA_EVENT_TERMINATING)) {
|
} else if (str_starts(pos, WPA_EVENT_TERMINATING)) {
|
||||||
printf("wpa_supplicant is terminating - stop monitoring\n");
|
printf("wpa_supplicant is terminating - stop monitoring\n");
|
||||||
wpa_cli_quit = 1;
|
wpa_cli_quit = 1;
|
||||||
|
|
Loading…
Reference in a new issue