aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-09-05 15:33:35 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-05 16:11:02 (GMT)
commitec4387f9c92a66e921ee8b71d10807cb36b99697 (patch)
treeabc4e94e593e385269b4ae4d4d9a8a41ec0a35d9 /src
parent142f7ba64337fb9e004a02387a5757b3ebaf38ea (diff)
downloadhostap-ec4387f9c92a66e921ee8b71d10807cb36b99697.zip
hostap-ec4387f9c92a66e921ee8b71d10807cb36b99697.tar.gz
hostap-ec4387f9c92a66e921ee8b71d10807cb36b99697.tar.bz2
Indicate CTRL-EVENT-AUTH-REJECT event on authentication rejection
This allows control interface monitors to get more detailed information in cases where wpa_supplicant-based SME receives an Authentication frame with non-zero status code. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/common/wpa_ctrl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h
index 8738031..3de4682 100644
--- a/src/common/wpa_ctrl.h
+++ b/src/common/wpa_ctrl.h
@@ -28,6 +28,8 @@ extern "C" {
#define WPA_EVENT_DISCONNECTED "CTRL-EVENT-DISCONNECTED "
/** Association rejected during connection attempt */
#define WPA_EVENT_ASSOC_REJECT "CTRL-EVENT-ASSOC-REJECT "
+/** Authentication rejected during connection attempt */
+#define WPA_EVENT_AUTH_REJECT "CTRL-EVENT-AUTH-REJECT "
/** wpa_supplicant is exiting */
#define WPA_EVENT_TERMINATING "CTRL-EVENT-TERMINATING "
/** Password change was completed successfully */