aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-04-29 17:02:13 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-29 17:02:13 (GMT)
commit625a8c86ba1c9ba7bc469184c07cef48f68d47da (patch)
tree2b5c1315f8aa0b3f5fd553144d5fe7b628fd680e /wpa_supplicant
parent6b21df0bb7a261ef890a02d1fef95ffa5ff54cfc (diff)
downloadhostap-625a8c86ba1c9ba7bc469184c07cef48f68d47da.zip
hostap-625a8c86ba1c9ba7bc469184c07cef48f68d47da.tar.gz
hostap-625a8c86ba1c9ba7bc469184c07cef48f68d47da.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wpa_cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index de33671..05e3ebf 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -3955,6 +3955,8 @@ static void wpa_cli_action_process(const char *msg)
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, HS20_DEAUTH_IMMINENT_NOTICE)) {
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)) {
printf("wpa_supplicant is terminating - stop monitoring\n");
wpa_cli_quit = 1;