From: Jouni Malinen Date: Sun, 29 Apr 2018 17:02:13 +0000 (+0300) Subject: wpa_cli: Indicate HS20-T-C-ACCEPTANCE to action scripts X-Git-Tag: hostap_2_7~395 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=625a8c86ba1c9ba7bc469184c07cef48f68d47da;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index de3367136..05e3ebf2f 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;