aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-04-20 23:48:10 (GMT)
committerJouni Malinen <j@w1.fi>2013-05-23 13:51:03 (GMT)
commitae8535b6e1a98ca40ce87650a4179851e7cd13a7 (patch)
treed929139cba21bc29b20e551ec7cb26e469946ff9 /wpa_supplicant/wpa_cli.c
parent6df634faf9b3171f0322a3368515fefbea8d7830 (diff)
downloadhostap-ae8535b6e1a98ca40ce87650a4179851e7cd13a7.zip
hostap-ae8535b6e1a98ca40ce87650a4179851e7cd13a7.tar.gz
hostap-ae8535b6e1a98ca40ce87650a4179851e7cd13a7.tar.bz2
WNM: Make ESS Disassoc Imminent event more convenient to use
Define a proper event prefix and include additional information to allow ESS Dissassociation Imminent event to be used in a wpa_cli action script. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-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 33a63a1..9a17b84 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -3036,6 +3036,8 @@ static void wpa_cli_action_process(const char *msg)
wpa_cli_exec(action_file, ctrl_ifname, pos);
} else if (str_match(pos, AP_STA_DISCONNECTED)) {
wpa_cli_exec(action_file, ctrl_ifname, pos);
+ } else if (str_match(pos, ESS_DISASSOC_IMMINENT)) {
+ 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;